We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50fcf3f commit 37da136Copy full SHA for 37da136
packages/testcontainers/fixtures/docker/docker-with-buildkit/Dockerfile
@@ -4,6 +4,10 @@ MAINTAINER Cristian Greco
4
5
EXPOSE 8080
6
7
+RUN --mount=type=tmpfs,target=/buildkit-test \
8
+ echo "BuildKit tmpfs mount is working" > /buildkit-test/success.txt && \
9
+ cat /buildkit-test/success.txt
10
+
11
RUN apk add --no-cache curl dumb-init libcap openssl
12
13
RUN openssl req -x509 -nodes -days 36500 \
@@ -12,8 +16,7 @@ RUN openssl req -x509 -nodes -days 36500 \
16
-out /etc/ssl/certs/cert.crt \
17
&& chmod 666 /etc/ssl/private/cert.key
14
18
15
-RUN --mount=type=cache,target=/root/.npm \
- npm init -y && \
19
+RUN npm init -y && \
20
npm install [email protected]
21
22
COPY index.js .
0 commit comments