-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Ubuntu 23.10 Signed-off-by: Tim Smith <[email protected]>
- Loading branch information
Showing
2 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
FROM ubuntu:23.10 | ||
LABEL maintainer="[email protected]" | ||
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" ] |