dockerfile: update to latest golang + alpine
Signed-off-by: Sumner Evans <sumner@beeper.com>
This commit is contained in:
parent
4ac86fee98
commit
853fad9576
@ -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
|
RUN apk add --no-cache git ca-certificates build-base su-exec olm-dev
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ COPY . /build
|
|||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
RUN go build -o /usr/bin/go-groupme
|
RUN go build -o /usr/bin/go-groupme
|
||||||
|
|
||||||
FROM alpine:3.14
|
FROM alpine:3.16
|
||||||
|
|
||||||
ENV UID=1337 \
|
ENV UID=1337 \
|
||||||
GID=1337
|
GID=1337
|
||||||
|
@ -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"]
|
|
Loading…
Reference in New Issue
Block a user