@ -0,0 +1 @@
.DS_Store
@ -0,0 +1,6 @@
FROM alpine:latest
ENV DOCKERBUILD 1
COPY . /initscripts/
RUN /initscripts/install_alpine.sh root
RUN /initscripts/install_alpine.sh user
@ -26,7 +26,11 @@ root_setup() {
apk add doas
echo "permit nopass :wheel" >> /etc/doas.d/doas.conf
}
usertest && createuser && installdoas
if test -z "$DOCKERBUILD"; then
else
usertest && installdoas
fi
user_setup() {