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 - cd -
mkdir -p ${PKGS_DIR}/ mkdir -p ${PKGS_DIR}/
# Build x86_64_deb # Build x86_64_deb
cd x86_64_debian10/ cd x86_64_debian12/
docker build $CACHE --build-arg branch=${BRANCH} --tag "$X86_64_DEB_NAME" . docker build $CACHE --build-arg branch=${BRANCH} --tag "$X86_64_DEB_NAME" .
cd - cd -
mkdir -p ${PKGS_DIR}/deb/ mkdir -p ${PKGS_DIR}/deb/

View File

@@ -1,4 +1,4 @@
FROM debian:buster FROM debian:bookworm
WORKDIR /usr/src/ WORKDIR /usr/src/
# Install dependencies # Install dependencies
@@ -16,6 +16,7 @@ RUN apt update && apt install -y \
libcap-dev \ libcap-dev \
libcups2-dev \ libcups2-dev \
libgnutls28-dev \ libgnutls28-dev \
libgnutls30 \
libicu-dev \ libicu-dev \
libjansson-dev \ libjansson-dev \
libkeyutils-dev \ libkeyutils-dev \
@@ -24,10 +25,10 @@ RUN apt update && apt install -y \
libpam0g-dev \ libpam0g-dev \
libacl1-dev \ libacl1-dev \
libarchive-dev \ libarchive-dev \
libssl-dev \
flex \ flex \
bison \ bison \
libntirpc-dev \ libntirpc-dev \
libtracker-sparql-3.0-dev \
libglib2.0-dev \ libglib2.0-dev \
libdbus-1-dev \ libdbus-1-dev \
libsasl2-dev \ libsasl2-dev \
@@ -40,7 +41,9 @@ RUN apt update && apt install -y \
# Install rust # Install rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rust.sh && \ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rust.sh && \
chmod +x /tmp/rust.sh && \ chmod +x /tmp/rust.sh && \
/tmp/rust.sh -y /tmp/rust.sh -y && \
. $HOME/.cargo/env && \
cargo version
# Clone repository # Clone repository
RUN git clone https://github.com/veeso/termscp.git RUN git clone https://github.com/veeso/termscp.git
# Set workdir to termscp # Set workdir to termscp