Update logging, path, docker scripts

This commit is contained in:
Andrejus
2020-07-12 14:11:50 +01:00
parent 1418a61962
commit f9cb667046
8 changed files with 55 additions and 39 deletions

View File

@@ -14,14 +14,14 @@ RUN echo "$USER ALL=(ALL) NOPASSWD: ALL" \
# Filesystem steps
ENV WORKSPACE="/home/$USER/workspace"
ENV LOG_TARGET="STDOUT"
ADD --chown=test-user . "$WORKSPACE/dotfiles"
WORKDIR "$WORKSPACE/dotfiles"
# Install steps
USER test-user
ENV FAST_MODE="true"
ARG TARGET="all"
RUN make TARGET=$TARGET
RUN make install TARGET=$TARGET
# Test entrypoint
ENTRYPOINT [ "make", "--directory", "tests", "TARGET=$TARGET" ]