From 0f432d0375d8905d547c5713f79ffcef0ed241e0 Mon Sep 17 00:00:00 2001 From: veeso Date: Mon, 10 Oct 2022 17:26:26 +0200 Subject: [PATCH] fixed build --- dist/build/x86_64_centos7/Dockerfile | 11 +++++++---- dist/build/x86_64_debian9/Dockerfile | 1 + 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dist/build/x86_64_centos7/Dockerfile b/dist/build/x86_64_centos7/Dockerfile index 6e762d2..90c4660 100644 --- a/dist/build/x86_64_centos7/Dockerfile +++ b/dist/build/x86_64_centos7/Dockerfile @@ -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"] diff --git a/dist/build/x86_64_debian9/Dockerfile b/dist/build/x86_64_debian9/Dockerfile index ae8187e..fd4b0cf 100644 --- a/dist/build/x86_64_debian9/Dockerfile +++ b/dist/build/x86_64_debian9/Dockerfile @@ -9,6 +9,7 @@ RUN apt update && apt install -y \ gcc \ pkg-config \ libdbus-1-dev \ + build-essential \ bash \ curl