Skip to content

Commit bfc9c19

Browse files
committed
fix(docs): supply chain example container image exact versions #751
Remove the specific versions from the Dockerfile so that instead what gets installed is "whatever's latest that day". This is not preferred, but since Alpine Package Manager disappears versions of packages after the fact, we do not have a choice but to abandon our quest for reproducible builds in this particular instance. Fixes #751 Signed-off-by: Peter Somogyvari <[email protected]>
1 parent 6114cef commit bfc9c19

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

examples/supply-chain-app/Dockerfile

+8-8
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM node:12.20.1-alpine3.12 as builder
33
RUN apk update
44

55
# Need JDK for the openapi-generator that is part of the build process
6-
RUN apk add --no-cache openjdk8=8.275.01-r0
6+
RUN apk add --no-cache openjdk8
77

88
# Need git because some of our npm depedencies might be coming
99
# straight from github instead of being an npm package on npmjs.com.
@@ -56,23 +56,23 @@ USER root
5656
RUN apk update
5757

5858
# Add bash for convenience, sh has less features
59-
RUN apk add --no-cache bash=5.0.17-r0
59+
RUN apk add --no-cache bash
6060

6161
# Need curl for healthchecks
62-
RUN apk add --no-cache curl=7.69.1-r3
62+
RUN apk add --no-cache curl
6363

6464
# The file binary is used to inspect exectubles when debugging container image issues
65-
RUN apk add --no-cache file=5.38-r0
65+
RUN apk add --no-cache file
6666

67-
RUN apk add --no-cache nodejs=12.20.1-r0
68-
RUN apk add --no-cache npm=12.20.1-r0
67+
RUN apk add --no-cache nodejs
68+
RUN apk add --no-cache npm
6969

70-
RUN apk add --no-cache ca-certificates=20191127-r4
70+
RUN apk add --no-cache ca-certificates
7171
RUN apk add --no-cache tzdata
7272

7373
# Install supervisord because we need to run the docker daemon and also the fabric network
7474
# meaning that we have multiple processes to run.
75-
RUN apk add --no-cache supervisor=4.2.0-r0
75+
RUN apk add --no-cache supervisor
7676

7777
ARG APP=/usr/src/app/
7878

0 commit comments

Comments
 (0)