back to alpine, don't need cgo anyway
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
stryan 2023-05-16 18:47:45 -04:00
parent d30093a39e
commit ccabfd7810

View File

@ -2,9 +2,9 @@ FROM golang:1.20 as builder
WORKDIR /go/src/app WORKDIR /go/src/app
COPY . . COPY . .
RUN apt update && apt upgrade -y 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/ WORKDIR /srv/
RUN mkdir /srv/simpbot RUN mkdir /srv/simpbot
RUN mkdir -p /lib64 RUN mkdir -p /lib64