mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 01:26:04 -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
28 lines
596 B
Docker
28 lines
596 B
Docker
FROM debian:stretch
|
|
|
|
WORKDIR /usr/src/
|
|
# Install dependencies
|
|
RUN apt update && apt install -y \
|
|
git \
|
|
gcc \
|
|
pkg-config \
|
|
libdbus-1-dev \
|
|
build-essential \
|
|
libsmbclient-dev \
|
|
libsmbclient \
|
|
bash \
|
|
curl
|
|
|
|
# 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 deb
|
|
RUN . $HOME/.cargo/env && cargo install cargo-deb
|
|
|
|
ENTRYPOINT ["tail", "-f", "/dev/null"]
|