further cleanup

update docs and tests
This commit is contained in:
Andrejus
2020-03-03 00:05:41 +00:00
parent 1c7586139f
commit 638c907c06
17 changed files with 266 additions and 68 deletions

View File

@@ -26,18 +26,19 @@ RUN echo "$USER ALL=(ALL) NOPASSWD: ALL" \
# Filesystem copy steps
# ---------------------------------------------------------------------------- #
ADD --chown=test-user . "$WORKSPACE/dotfiles"
WORKDIR "$WORKSPACE/dotfiles"
ADD --chown=test-user . .
USER test-user
# ---------------------------------------------------------------------------- #
# Install steps
# ---------------------------------------------------------------------------- #
USER test-user
RUN make install
RUN make
# ---------------------------------------------------------------------------- #
# Test steps
# ---------------------------------------------------------------------------- #
CMD ["cd", "tests", "&&", "make"]
WORKDIR "$WORKSPACE/dotfiles/tests"
ENTRYPOINT ["make"]