Skip to content

Commit

Permalink
Install git in builder stage
Browse files Browse the repository at this point in the history
  • Loading branch information
agoldstone93 committed Jan 14, 2025
1 parent f83ea9d commit f8cef2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ FROM base AS builder
RUN addgroup -g 1000 -S appgroup \
&& adduser -u 1000 -S appuser -G appgroup

# Install Git in the builder stage
RUN apk add --no-cache git

# create app directory in conventional, existing dir /usr/src
RUN mkdir -p /usr/src/app && mkdir -p /usr/src/app/tmp
WORKDIR /usr/src/app
Expand Down

0 comments on commit f8cef2a

Please sign in to comment.