mirror of
https://github.com/veeso/termscp.git
synced 2025-12-06 17:15:35 -08:00
* feat: smb client * fix: smb connection * fix: smbclient deps * feat: SMB mentions to user manual * feat: changelog * dlib macos * fix: removed smb support from macos :( * fix: restored libsmbclient build * fix: strange lint message * fix: macos build smb * fix: macos build smb * fix: macos tests * fix: macos lint * feat: SMB windows support * fix: windows tests
27 lines
602 B
Docker
27 lines
602 B
Docker
FROM centos:centos7 as builder
|
|
|
|
WORKDIR /usr/src/
|
|
# Install dependencies
|
|
RUN yum -y install \
|
|
git \
|
|
gcc \
|
|
pkgconfig \
|
|
gcc \
|
|
make \
|
|
dbus-devel \
|
|
libsmbclient-devel \
|
|
bash \
|
|
rpm-build
|
|
# Install rust
|
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rust.sh && \
|
|
chmod +x /tmp/rust.sh && \
|
|
/tmp/rust.sh -y
|
|
# Clone repository
|
|
RUN git clone https://github.com/veeso/termscp.git
|
|
# Set workdir to termscp
|
|
WORKDIR /usr/src/termscp/
|
|
# Install cargo rpm
|
|
RUN source $HOME/.cargo/env && cargo install cargo-rpm
|
|
|
|
ENTRYPOINT ["tail", "-f", "/dev/null"]
|