-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit bf3e4a2
Showing
4 changed files
with
748 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
FROM docker.io/library/archlinux:base-devel | ||
|
||
ENV NAME=archlinux-toolbox VERSION=base-devel | ||
LABEL com.github.containers.toolbox="true" \ | ||
name="$NAME" \ | ||
version="$VERSION" | ||
|
||
# Install base packages | ||
COPY base-packages.txt / | ||
RUN pacman -Syyu --needed --noconfirm - < base-packages.txt | ||
RUN rm /base-packages.txt | ||
|
||
# Install extra packages | ||
COPY extra-packages.txt / | ||
RUN pacman -Syu --needed --noconfirm - < extra-packages.txt | ||
RUN rm /extra-packages.txt | ||
|
||
# Clean up cache | ||
RUN pacman -Scc --noconfirm | ||
|
||
# Enable sudo permission for wheel users | ||
RUN echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/toolbox | ||
|
||
# Symlink some external binaries, for convenience | ||
RUN 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 |
Oops, something went wrong.