-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (17 loc) · 1.21 KB
/
Dockerfile
File metadata and controls
22 lines (17 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM archlinux:latest
LABEL summary="Datblygiad (EN: development) is an Arch Linux based container designed to be used in a development environment. It installs multiple packages from the Arch repositories, PyPI (via pipx) and npm. It also uses packages from the AUR by using yay. It is intended to be used with distrobox but can be used as a docker or podman container as well." \
usage="To be used with distrobox" \
version="1.0" \
org.opencontainers.image.description="Datblygiad (EN: development) is an Arch Linux based container designed to be used in a development environment. It installs multiple packages from the Arch repositories, PyPI (via pipx) and npm. It also uses packages from the AUR by using yay. It is intended to be used with distrobox but can be used as a docker or podman container as well."
RUN pacman-key --init
# Copy files lists
COPY files/ /
# Upgrade packages
RUN \
pacman -Syu --verbose --noconfirm && pacman -S --verbose --noconfirm sudo base-devel yq git
# sudo is needed to run yay build and aur package installs as build user
# base-devel needed to build aur packages
# yq is installed to parse the packages.yml file
# git needed to install yay
RUN \
bash /tmp/scripts/install_packages.sh