generated from ublue-os/boxkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathContainerfile
21 lines (17 loc) · 872 Bytes
/
Containerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM quay.io/toolbx-images/debian-toolbox:11
LABEL com.github.containers.toolbox="true" \
usage="This image is meant to be used with the toolbox or distrobox command" \
summary="A Distrobox image for PlanktoScope software development" \
maintainer="lietk12@gmail.com"
COPY extra-packages /
RUN apt-get update && \
apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt-get -y install \
$(grep -v '^#' /extra-packages | xargs) && \
rm -rd /var/lib/apt/lists/*
RUN rm /extra-packages
RUN ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/docker && \
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/flatpak && \
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/podman && \
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/rpm-ostree
RUN echo "ALL ALL = (ALL) NOPASSWD: ALL" >> /etc/sudoers