Skip to content

Commit

Permalink
update os package layers when building images
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Silva <[email protected]>
Co-authored-by: Rui Yang <[email protected]>
  • Loading branch information
taylorsilva and Rui Yang committed Jul 22, 2021
1 parent 71f7a4a commit de1567b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dockerfiles/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ RUN set -e; for pkg in $(go list ./...); do \
done

FROM ${base_image} AS resource
RUN apk update && apk upgrade
RUN apk add --no-cache bash jq git git-daemon openssh
RUN git config --global user.email "git@localhost"
RUN git config --global user.name "git"
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ RUN set -e; for pkg in $(go list ./...); do \
done

FROM ${base_image} AS resource
RUN apt update && apt upgrade -y -o Dpkg::Options::="--force-confdef"
RUN apt-get update && apt-get install -y jq git
RUN git config --global user.email "git@localhost"
RUN git config --global user.name "git"
Expand Down

0 comments on commit de1567b

Please sign in to comment.