Skip to content
Snippets Groups Projects
Commit 7fa6e0be authored by Griefed's avatar Griefed :joystick:
Browse files

test: Split into separate RUN blocks to identify cause of failing build

parent 62022aa5
No related branches found
Tags bionic-9df2692e-ls20
No related merge requests found
...@@ -19,6 +19,7 @@ LABEL description="Provides GitLab Semantic Release, buildx, JDK 8, NodeJS for G ...@@ -19,6 +19,7 @@ LABEL description="Provides GitLab Semantic Release, buildx, JDK 8, NodeJS for G
COPY --from=fetcher /docker-buildx /usr/lib/docker/cli-plugins/docker-buildx COPY --from=fetcher /docker-buildx /usr/lib/docker/cli-plugins/docker-buildx
RUN \ RUN \
echo "**** Updating and installing our packages ****" && \
apk update && \ apk update && \
apk upgrade -y && \ apk upgrade -y && \
apk add --no-cache \ apk add --no-cache \
...@@ -29,6 +30,12 @@ RUN \ ...@@ -29,6 +30,12 @@ RUN \
nodejs \ nodejs \
npm \ npm \
openjdk8 && \ openjdk8 && \
echo "**** Cleanup ****" && \
rm -rf \
/var/cache/apk/* \
/tmp/*
RUN \
echo "**** Installing GitLab Semantic Release ****" && \ echo "**** Installing GitLab Semantic Release ****" && \
npm install -g \ npm install -g \
conventional-changelog-conventionalcommits \ conventional-changelog-conventionalcommits \
...@@ -40,12 +47,25 @@ RUN \ ...@@ -40,12 +47,25 @@ RUN \
@semantic-release/gitlab \ @semantic-release/gitlab \
@semantic-release/npm \ @semantic-release/npm \
@semantic-release/release-notes-generator && \ @semantic-release/release-notes-generator && \
echo "**** Cleanup ****" && \
rm -rf \
/var/cache/apk/* \
/tmp/*
RUN \
echo "**** Making docker-buildx executable for all ****" && \ echo "**** Making docker-buildx executable for all ****" && \
chmod a+x \ chmod a+x \
/usr/lib/docker/cli-plugins/docker-buildx && \ /usr/lib/docker/cli-plugins/docker-buildx && \
echo "**** Cleanup ****" && \
rm -rf \
/var/cache/apk/* \
/tmp/*
RUN \
echo "**** Installing quasar ****" && \ echo "**** Installing quasar ****" && \
npm install -g \ npm install -g \
@quasar/cli && \ @quasar/cli && \
echo "**** Cleanup ****" && \ echo "**** Cleanup ****" && \
rm -rf \ rm -rf \
/var/cache/apk/* /var/cache/apk/* \
/tmp/*
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment