mirror of
https://github.com/sobolevn/git-secret
synced 2024-11-08 19:10:31 +00:00
16 lines
346 B
Docker
16 lines
346 B
Docker
|
FROM fedora:34
|
||
|
|
||
|
LABEL maintainer="mail@sobolevn.me"
|
||
|
LABEL vendor="git-secret team"
|
||
|
|
||
|
RUN dnf -y update \
|
||
|
&& dnf install -y \
|
||
|
# Required for our install script:
|
||
|
wget \
|
||
|
sudo \
|
||
|
&& dnf clean all \
|
||
|
&& rm -rf /var/cache/yum \
|
||
|
&& adduser --password='' nonroot \
|
||
|
&& echo 'nonroot ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||
|
USER nonroot
|