Skip to content

Commit

Permalink
chore: use alpine as Docker base image
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiashermsen committed Nov 3, 2023
1 parent 1ea3cc1 commit 9e9ed72
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
FROM golang:1.18.3-bullseye as build
FROM golang:1.18.3-alpine as build

RUN mkdir /app
WORKDIR /app

RUN apk update
RUN apk add --no-cache build-base
RUN apk add --no-cache make

ADD . .
RUN make build



FROM debian:bullseye
FROM alpine:3.18.4

RUN apt update
RUN apt install -y git
RUN apk update
RUN apk add --no-cache git

RUN mkdir /action
WORKDIR /action
Expand Down

0 comments on commit 9e9ed72

Please sign in to comment.