From 853fad957605c666185dfb94dd3587b5ac649057 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Fri, 21 Oct 2022 16:10:48 -0500 Subject: [PATCH] dockerfile: update to latest golang + alpine Signed-off-by: Sumner Evans --- Dockerfile | 4 ++-- Dockerfile.ci | 14 -------------- 2 files changed, 2 insertions(+), 16 deletions(-) delete mode 100644 Dockerfile.ci diff --git a/Dockerfile b/Dockerfile index e789990..43cf893 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Dockerfile.ci b/Dockerfile.ci deleted file mode 100644 index 9e60586..0000000 --- a/Dockerfile.ci +++ /dev/null @@ -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"]