mirror of
https://github.com/veeso/termscp.git
synced 2025-12-06 17:15:35 -08:00
fixed build
This commit is contained in:
11
dist/build/x86_64_centos7/Dockerfile
vendored
11
dist/build/x86_64_centos7/Dockerfile
vendored
@@ -8,8 +8,11 @@ RUN yum -y install \
|
||||
git \
|
||||
gcc \
|
||||
pkgconfig \
|
||||
gcc \
|
||||
make \
|
||||
dbus-devel \
|
||||
bash
|
||||
bash \
|
||||
rpm-build
|
||||
# Install rust
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rust.sh && \
|
||||
chmod +x /tmp/rust.sh && \
|
||||
@@ -18,10 +21,10 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rust.sh &&
|
||||
RUN git clone --branch $branch https://github.com/veeso/termscp.git
|
||||
# Set workdir to termscp
|
||||
WORKDIR /usr/src/termscp/
|
||||
# Install cargo arxch
|
||||
RUN source $HOME/.cargo/env && cargo install cargo-rpm
|
||||
# Build for x86_64
|
||||
RUN source $HOME/.cargo/env && cargo build --release
|
||||
# Install cargo rpm
|
||||
RUN source $HOME/.cargo/env && cargo install cargo-rpm
|
||||
# Build pkgs
|
||||
RUN source $HOME/.cargo/env && yum -y install rpm-build && cargo rpm init && cargo rpm build
|
||||
RUN source $HOME/.cargo/env && cargo rpm init && cargo rpm build
|
||||
CMD ["sh"]
|
||||
|
||||
1
dist/build/x86_64_debian9/Dockerfile
vendored
1
dist/build/x86_64_debian9/Dockerfile
vendored
@@ -9,6 +9,7 @@ RUN apt update && apt install -y \
|
||||
gcc \
|
||||
pkg-config \
|
||||
libdbus-1-dev \
|
||||
build-essential \
|
||||
bash \
|
||||
curl
|
||||
|
||||
|
||||
Reference in New Issue
Block a user