Skip to content

Commit

Permalink
replace composite action with docker
Browse files Browse the repository at this point in the history
  • Loading branch information
imskr committed Jul 17, 2022
1 parent b3113ab commit 4c5e412
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ COPY . /app

RUN go get -d -v

# Statically compile our app for use in a distroless container
# Statically compile our app for use in a scratch or debian buster container
RUN CGO_ENABLED=0 go build -ldflags="-w -s" -v -o app .

# using multi-stage build
FROM debian:buster-slim
RUN set -x && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
ca-certificates git bash && \
Expand Down

0 comments on commit 4c5e412

Please sign in to comment.