summarylogtreecommitdiffstats
path: root/Dockerfile
blob: 91d8f6ed975e4b29fce061c032b070172f6eebb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM base/devel:latest

RUN pacman -Syu --noconfirm

ENV APP=/firegrid-arch

COPY . $APP

RUN useradd dev && \
    echo "dev ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/dev && \
    chown -R dev:dev $APP

USER dev

WORKDIR $APP