build: build docker for x86

This commit is contained in:
veeso
2025-03-23 16:43:51 +01:00
parent da75912d26
commit 446f4a3a32
2 changed files with 7 additions and 4 deletions

View File

@@ -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/

View File

@@ -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