Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian: add debian-12 (bookworm) #94

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
centos-7,
debian-10,
debian-11,
debian-12,
fedora-36,
opensuse-15.4,
ubuntu-18.04,
Expand All @@ -45,7 +46,7 @@ jobs:
GHCR_PASSWORD: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Build and test the images
- name: Run build-and-test.sh
Expand Down
61 changes: 61 additions & 0 deletions dockerfiles/debian/debian-12/debian-12-base/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# debian-12-base
# Copyright (C) 2015-2021 Intel Corporation
# Copyright (C) 2024 Konsulko Group
#
# SPDX-License-Identifier: GPL-2.0-only
#

FROM debian:12

ARG TARGETPLATFORM

RUN apt-get clean && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
chrpath \
cpio \
diffstat \
fluxbox \
gawk \
git-core \
locales \
lz4 \
procps \
python3 \
python3-pip \
screen \
socat \
subversion \
sudo \
sysstat \
texinfo \
tightvncserver \
tmux \
unzip \
wget \
xz-utils \
zstd && \
case ${TARGETPLATFORM} in \
"linux/amd64") \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
gcc-multilib \
g++-multilib \
;; \
esac && \
cp -af /etc/skel/ /etc/vncskel/ && \
echo "export DISPLAY=1" >>/etc/vncskel/.bashrc && \
mkdir /etc/vncskel/.vnc && \
echo "" | vncpasswd -f > /etc/vncskel/.vnc/passwd && \
chmod 0600 /etc/vncskel/.vnc/passwd && \
useradd -U -m yoctouser && \
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && locale-gen

COPY build-install-dumb-init.sh /
RUN bash /build-install-dumb-init.sh && \
rm /build-install-dumb-init.sh && \
apt-get clean

USER yoctouser
WORKDIR /home/yoctouser
CMD /bin/bash
Loading