Skip to content

Commit

Permalink
update dockerfile to build arm arch
Browse files Browse the repository at this point in the history
  • Loading branch information
chofnar committed Feb 9, 2024
1 parent 770f6d7 commit b0fb184
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21.6-bullseye as builder
FROM arm64v8/golang:1.22.0-bullseye as builder

WORKDIR /app

Expand All @@ -9,7 +9,7 @@ COPY . ./

RUN go build -mod=readonly -v -o bot

FROM debian:buster-slim
FROM arm64v8/debian:buster-slim
RUN set -x && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
ca-certificates && \
rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit b0fb184

Please sign in to comment.