diff --git a/dist/build/linux-x86_64.sh b/dist/build/linux-x86_64.sh index 219c519..c84b0de 100755 --- a/dist/build/linux-x86_64.sh +++ b/dist/build/linux-x86_64.sh @@ -30,7 +30,7 @@ PKGS_DIR=$(pwd)/pkgs cd - mkdir -p ${PKGS_DIR}/ # Build x86_64_deb -cd x86_64_debian10/ +cd x86_64_debian12/ docker build $CACHE --build-arg branch=${BRANCH} --tag "$X86_64_DEB_NAME" . cd - mkdir -p ${PKGS_DIR}/deb/ diff --git a/dist/build/x86_64_debian10/Dockerfile b/dist/build/x86_64_debian12/Dockerfile similarity index 89% rename from dist/build/x86_64_debian10/Dockerfile rename to dist/build/x86_64_debian12/Dockerfile index c6a74ba..9319f71 100644 --- a/dist/build/x86_64_debian10/Dockerfile +++ b/dist/build/x86_64_debian12/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:buster +FROM debian:bookworm WORKDIR /usr/src/ # Install dependencies @@ -16,6 +16,7 @@ RUN apt update && apt install -y \ libcap-dev \ libcups2-dev \ libgnutls28-dev \ + libgnutls30 \ libicu-dev \ libjansson-dev \ libkeyutils-dev \ @@ -24,10 +25,10 @@ RUN apt update && apt install -y \ libpam0g-dev \ libacl1-dev \ libarchive-dev \ + libssl-dev \ flex \ bison \ libntirpc-dev \ - libtracker-sparql-3.0-dev \ libglib2.0-dev \ libdbus-1-dev \ libsasl2-dev \ @@ -40,7 +41,9 @@ RUN apt update && apt install -y \ # 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 + /tmp/rust.sh -y && \ + . $HOME/.cargo/env && \ + cargo version # Clone repository RUN git clone https://github.com/veeso/termscp.git # Set workdir to termscp