back to alpine, don't need cgo anyway
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d30093a39e
commit
ccabfd7810
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user