Skip to content

Commit aec4a67

Browse files
authored
Update Dockerfile
1 parent 7b8f8ca commit aec4a67

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

build/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,11 @@ COPY . .
2121
RUN CGO_ENABLED=0 GO111MODULE=on go build -v -o /main -installsuffix cgo -ldflags="-w -s" main.go
2222

2323
# second stage
24-
FROM python:3.10-slim-buster
24+
FROM python:3.10-slim-git
2525

2626
# app directory
2727
WORKDIR /app
2828

29-
# Installing Git for alpine
30-
RUN apk add --no-cache git
31-
3229
# clone into scanner
3330
RUN git clone https://github.com/ptaas-tool/scanner.git
3431

0 commit comments

Comments
 (0)