Remove stow files in docker

This commit is contained in:
2020-07-15 21:36:42 +01:00
committed by GitHub
parent 4bbafe1b4f
commit 6fe0d74323

View File

@@ -13,14 +13,15 @@ RUN echo "$USER ALL=(ALL) NOPASSWD: ALL" \
>>/etc/sudoers >>/etc/sudoers
# Filesystem steps # Filesystem steps
RUN rm /home/$USER/{.profile,.bashrc}
ENV WORKSPACE="/home/$USER/workspace" ENV WORKSPACE="/home/$USER/workspace"
ENV LOG_TARGET="STDOUT"
ADD --chown=test-user . "$WORKSPACE/dotfiles" ADD --chown=test-user . "$WORKSPACE/dotfiles"
WORKDIR "$WORKSPACE/dotfiles" WORKDIR "$WORKSPACE/dotfiles"
# Install steps # Install steps
USER test-user USER test-user
ARG TARGET="all" ARG TARGET="all"
ENV LOG_TARGET="STDOUT"
RUN make install TARGET=$TARGET RUN make install TARGET=$TARGET
# Test entrypoint # Test entrypoint