From 5fd6be1738c9e6fbe15debdffe39663d18d50cac Mon Sep 17 00:00:00 2001 From: Damien Duportal Date: Mon, 24 Feb 2020 19:17:48 +0100 Subject: [PATCH] Inline RUN in Dockerfile to fix apk error 'ERROR: unsatisfiable constraints' when working with the Docker Image. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c3d43976d..59ba77681 100644 --- a/Dockerfile +++ b/Dockerfile @@ -136,9 +136,9 @@ ENV MOLECULE_EXTRAS="docker,docs,windows,lint" RUN \ apk add --update --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ ${BUILD_DEPS} ${PACKAGES} \ - gem install ${GEM_PACKAGES} \ - apk del --no-cache ${BUILD_DEPS} \ - rm -rf /root/.cache + && gem install ${GEM_PACKAGES} \ + && apk del --no-cache ${BUILD_DEPS} \ + && rm -rf /root/.cache COPY --from=molecule-builder \ /usr/src/molecule/dist \ /usr/src/molecule/dist