Skip to content

Commit dc07f2c

Browse files
added empty run statement to workaround issue moby/moby#37965
1 parent c9d1543 commit dc07f2c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ ENV APP_BUILDDIR=/var/build
119119

120120
COPY --from=builder ${QT_PREFIX} ${QT_PREFIX}
121121
COPY --from=builder /opt/extra-dependencies/ /
122+
# the next copy statement failed often. My only guess is, that the extra dependencies are not existent and somehow that
123+
# triggers a failure here.... A workaround for similar issues is to put an empty run statement in between: https://github.com/moby/moby/issues/37965
124+
RUN true
122125
COPY entrypoint.sh ${ENTRYPOINT_DIR}
123126

124127
RUN chmod +x ${ENTRYPOINT_DIR}/entrypoint.sh

0 commit comments

Comments
 (0)