summaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 9422cfca565c126283e36b5bc3214821da547e1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM archlinux

# https://serverfault.com/a/1053273
# TEMP-FIX for pacman issue
RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst \
    && curl -LO "https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/${patched_glibc}" \
    && bsdtar -C / -xvf "${patched_glibc}" || echo "Everything is fine."
# TEMP-FIX for pacman issue

RUN pacman -Sy --noconfirm sudo fakeroot base-devel
RUN pacman -S --noconfirm git
RUN pacman -S --noconfirm vim
COPY docker.sudoers /etc/sudoers.d/wheel
RUN useradd user
RUN usermod -a user -G wheel