From ccabfd7810c5eea048746091021337ebd3ed058a Mon Sep 17 00:00:00 2001 From: Steve Date: Tue, 16 May 2023 18:47:45 -0400 Subject: [PATCH] back to alpine, don't need cgo anyway --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 9438493..b8c7885 100644 --- a/Containerfile +++ b/Containerfile @@ -2,9 +2,9 @@ FROM golang:1.20 as builder WORKDIR /go/src/app COPY . . RUN apt update && apt upgrade -y -RUN go build +RUN CGO_ENABLED=0 go build -FROM debian:stable-slim as final +FROM alpine:latest as final WORKDIR /srv/ RUN mkdir /srv/simpbot RUN mkdir -p /lib64