dockerfile: update to latest golang + alpine

Signed-off-by: Sumner Evans <sumner@beeper.com>
This commit is contained in:
Sumner Evans 2022-10-21 16:10:48 -05:00
parent 4ac86fee98
commit 853fad9576
No known key found for this signature in database
GPG Key ID: 8904527AB50022FD
2 changed files with 2 additions and 16 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1-alpine3.14 AS builder
FROM golang:1.19-alpine3.16 AS builder
RUN apk add --no-cache git ca-certificates build-base su-exec olm-dev
@ -6,7 +6,7 @@ COPY . /build
WORKDIR /build
RUN go build -o /usr/bin/go-groupme
FROM alpine:3.14
FROM alpine:3.16
ENV UID=1337 \
GID=1337

View File

@ -1,14 +0,0 @@
FROM alpine:3.14
ENV UID=1337 \
GID=1337
RUN apk add --no-cache ffmpeg su-exec ca-certificates bash jq curl yq
ARG EXECUTABLE=./go-groupme
COPY $EXECUTABLE /usr/bin/go-groupme
COPY ./example-config.yaml /opt/go-groupme/example-config.yaml
COPY ./docker-run.sh /docker-run.sh
VOLUME /data
CMD ["/docker-run.sh"]