Skip to content

Commit

Permalink
OpenSUSE: add opensuse-15.5
Browse files Browse the repository at this point in the history
https://en.opensuse.org/Release_announcement_15.5

https://doc.opensuse.org/release-notes/x86_64/openSUSE/Leap/15.5/index.html

https://en.opensuse.org/Lifetime#openSUSE_Leap

openSUSE Leap 15.5 - is expected to be maintained until end of December 2024

* Drop python (python2). If you still need it, build your own
  containers.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
  • Loading branch information
moto-timo committed Mar 4, 2024
1 parent a9b1c13 commit 377d199
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-test-deploy.yml
Expand Up @@ -31,6 +31,7 @@ jobs:
fedora-38,
fedora-39,
opensuse-15.4,
opensuse-15.5,
ubuntu-18.04,
ubuntu-20.04,
ubuntu-22.04
Expand Down
62 changes: 62 additions & 0 deletions dockerfiles/opensuse/opensuse-15.5/opensuse-15.5-base/Dockerfile
@@ -0,0 +1,62 @@
# opensuse-15.5-base
# Copyright (C) 2015-2020 Intel Corporation
# Copyright (C) 2022-2024 Konsulko Group
#
# SPDX-License-Identifier: GPL-2.0-only
##

FROM opensuse/leap:15.5

# Keep these in alphabetical order, as sorted by vim :sort
RUN zypper --non-interactive install \
bzip2 \
chrpath \
diffstat \
gcc \
gcc-c++ \
git \
glibc-locale \
gzip \
iproute2 \
libSDL-devel \
lz4 \
make \
makeinfo \
net-tools \
patch \
python3 \
python3-Jinja2 \
python3-curses \
python3-pexpect \
python3-pip \
rpcgen \
socat \
subversion \
sudo \
tar \
wget \
xorg-x11-Xvnc \
xz \
zstd && \
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

# Install buildtools. The original reason this was needed was due to a
# sanity check for make 4.1.2, but now we're relying on python-3.8 so instead
# of -make, install all the buildtools

COPY install-buildtools.sh /
RUN bash /install-buildtools.sh && \
rm /install-buildtools.sh

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

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

0 comments on commit 377d199

Please sign in to comment.