Skip to content

Commit f107ea9

Browse files
committed
alpine build issue
1 parent ac43315 commit f107ea9

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

release/preview/alpine38/test-deps/docker/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ ENV NODE_VERSION 10.15.3 \
1616
# workaround for Alpine to run in Azure DevOps
1717
ENV NODE_NO_WARNINGS=1
1818

19+
# Diagnostics in case copy fails
20+
RUN ls -l /opt/ \
21+
&& echo "expcted path:" \
22+
&& echo "/opt/yarn-v${YARN_VERSION}"
23+
1924
# Copy node and yarn into image
2025
COPY --from=node /usr/local/bin/node /usr/local/bin/node
2126
COPY --from=node /opt/yarn-v${YARN_VERSION} /opt/yarn-v${YARN_VERSION}

release/preview/alpine39/test-deps/docker/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ ENV NODE_VERSION 10.15.3 \
1818
# workaround for Alpine to run in Azure DevOps
1919
ENV NODE_NO_WARNINGS=1
2020

21+
# Diagnostics in case copy fails
22+
RUN ls -l /opt/ \
23+
&& echo "expcted path:" \
24+
&& echo "/opt/yarn-v${YARN_VERSION}"
25+
2126
# Copy node and yarn into image
2227
COPY --from=node /usr/local/bin/node /usr/local/bin/node
2328
COPY --from=node /opt/yarn-v${YARN_VERSION} /opt/yarn-v${YARN_VERSION}

0 commit comments

Comments
 (0)