Skip to content

Commit 6bacbc8

Browse files
committed
fix a versioning bug
1 parent 3b609fc commit 6bacbc8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

examples/docker-image-builds/images/java.Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# From the base image (built on Docker host)
2-
FROM coder-base:latest
2+
FROM coder-base:v0.1
33

44
# Install everything as root
55
USER root
@@ -54,4 +54,4 @@ RUN mkdir -p /usr/share/gradle /usr/share/gradle/ref \
5454
ENV PATH $PATH:$GRADLE_HOME/bin
5555

5656
# Set back to coder user
57-
USER coder
57+
USER coder
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Start from base image (built on Docker host)
2-
FROM coder-base:latest
2+
FROM coder-base:v0.1
33

44
# Install everything as root
55
USER root
66

77
# Install Node
8-
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
8+
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
99
RUN DEBIAN_FRONTEND="noninteractive" apt-get update -y && \
1010
apt-get install -y nodejs
1111

@@ -15,4 +15,4 @@ RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources
1515
RUN DEBIAN_FRONTEND="noninteractive" apt-get update && apt-get install -y yarn
1616

1717
# Set back to coder user
18-
USER coder
18+
USER coder

0 commit comments

Comments
 (0)