Skip to content

Commit bb914ea

Browse files
committed
chore: update dockerfile for git submodule
1 parent ad22f75 commit bb914ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ FROM alpine:3.15.0 as certs
22
RUN apk --update add ca-certificates
33

44
FROM golang:1.18.0-alpine3.15 AS builder
5-
RUN apk add git bash gcc musl-dev upx
5+
RUN apk add git bash gcc musl-dev upx git
66
WORKDIR /app
77
COPY . .
8+
RUN git submodule update --init
89
RUN go mod tidy
910
RUN go test -v ./...
1011
ENV CGO_ENABLED=0

0 commit comments

Comments
 (0)