Skip to content

Commit

Permalink
Add missing Gemfile.lock to Docker install steps
Browse files Browse the repository at this point in the history
Addressed using guidance from ***REMOVED***

b/270567886

Change-Id: I53fca0e9009ed17ad233fb2522cde9ad24e34872
NOKEYCHECK=True
GitOrigin-RevId: f4ba2e56e9f663e10eeac8f2e361588dd5b06778
  • Loading branch information
arjungm authored and andrewsavage1 committed Mar 23, 2023
1 parent 9b06183 commit 8b7ae33
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/docsite/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ RUN apt update -qqy \
&& rm -rf /var/lib/{apt,dpkg,cache,log}

COPY Gemfile /app/Gemfile

# Note: This file was generated by running a working version of this Docker
# container. Then it was committed back to the codebase to be copied over as
# part of the build steps.
COPY Gemfile.lock /app/Gemfile.lock
RUN bundle install --gemfile=/app/Gemfile

# We create and use a non-root user explicitly so that the generated and
Expand Down

0 comments on commit 8b7ae33

Please sign in to comment.