chore: various tweaks to support running tests in the CI

This commit is contained in:
Adam Cooke
2021-07-26 17:40:56 +00:00
parent 9288d642b9
commit c09ab62d0c
21 changed files with 334 additions and 103 deletions
+5
View File
@@ -15,6 +15,7 @@ RUN apt-get update \
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
netcat \
curl \
libmariadbclient-dev \
nano \
@@ -46,6 +47,10 @@ RUN echo $VERSION > VERSION
ENTRYPOINT [ "/docker-entrypoint.sh" ]
CMD ["bundle", "exec"]
# ci target - use --target=ci to skip asset compilation
FROM base AS ci
# prod target - default if no --target option is given
FROM base AS prod
# Copy temporary configuration file which can be used for
# running the asset precompilation.