Skip to content

Commit

Permalink
Add Ubuntu 23.10 (#96)
Browse files Browse the repository at this point in the history
Add Ubuntu 23.10

Signed-off-by: Tim Smith <tsmith84@gmail.com>
  • Loading branch information
tas50 authored Jun 28, 2023
1 parent 81c18ad commit 36d5839
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
- "ubuntu-22.04"
- "ubuntu-22.10"
- "ubuntu-23.04"
- "ubuntu-23.10"
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
67 changes: 67 additions & 0 deletions ubuntu-23.10/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
FROM ubuntu:23.10
LABEL maintainer="tim@mondoo.com"
ARG BUILD_DATE
ARG VCS_REF

LABEL org.label-schema.schema-version="1.0"
LABEL org.label-schema.build-date=$BUILD_DATE
LABEL org.label-schema.name="test-kitchen/dokken-images"
LABEL org.label-schema.description="A Docker container for testing ubuntu-23.10"
LABEL org.label-schema.vcs-url="https://github.com/test-kitchen/dokken-images"
LABEL org.label-schema.vcs-ref=$VCS_REF
LABEL org.label-schema.vendor="test-kitchen"

ENV DEBIAN_FRONTEND=noninteractive

# hadolint ignore=DL3008,DL3015
RUN apt-get update && \
apt-get -y install \
apt-transport-https \
apt-utils \
curl \
dbus \
cron \
dirmngr \
dmidecode \
gnupg \
iproute2 \
iptables \
iputils-ping \
kmod \
less \
linux-base \
locales \
lsb-release \
lsof \
net-tools \
nmap \
perl \
procps \
snapd \
strace \
sudo \
systemd \
tcpdump \
telnet \
tzdata \
udev \
vim-tiny \
wget && \
apt-get clean && \
apt-get -y autoremove && \
rm -rf /tmp/* /var/tmp/* && \
find /etc/systemd/system \
/lib/systemd/system \
-path '*.wants/*' \
\( -name '*getty*' \
-or -name '*apt-daily*' \
-or -name '*systemd-timesyncd*' \
-or -name '*systemd-logind*' \
-or -name '*systemd-vconsole-setup*' \
-or -name '*systemd-readahead*' \
-or -name '*udev*' \) \
-exec rm -v {} \; && \
systemctl set-default multi-user.target && \
systemctl mask dev-hugepages.mount sys-fs-fuse-connections.mount network.service

CMD [ "/bin/systemd" ]

0 comments on commit 36d5839

Please sign in to comment.