mirror of
https://github.com/go-shiori/shiori.git
synced 2024-09-20 06:56:10 +08:00
deps: updated docker image versions (#809)
* deps: updated docker image versions * use dockerhub alpine image * use alpine image from dockerhub in ci
This commit is contained in:
parent
7c13626a5b
commit
f72e2dec4a
2
.github/workflows/docker/Dockerfile.ci
vendored
2
.github/workflows/docker/Dockerfile.ci
vendored
|
@ -1,4 +1,4 @@
|
|||
FROM ghcr.io/ghcri/alpine:3.15
|
||||
FROM docker.io/alpine:3.19
|
||||
ARG TARGETARCH
|
||||
LABEL org.opencontainers.image.source https://github.com/go-shiori/shiori
|
||||
COPY etc /etc
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# build stage
|
||||
FROM ghcr.io/ghcri/golang:1.19-alpine3.16 AS builder
|
||||
FROM ghcr.io/ghcri/golang:1.21-alpine3.19 AS builder
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
RUN go build -ldflags '-s -w'
|
||||
|
||||
# server image
|
||||
|
||||
FROM ghcr.io/ghcri/alpine:3.16
|
||||
FROM docker.io/alpine:3.19
|
||||
LABEL org.opencontainers.image.source https://github.com/go-shiori/shiori
|
||||
COPY --from=builder /src/shiori /usr/bin/
|
||||
RUN addgroup -g 1000 shiori \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM docker.io/golang:1.19-alpine3.16
|
||||
FROM docker.io/golang:1.21-alpine3.19
|
||||
|
||||
WORKDIR /src/shiori
|
||||
|
||||
|
|
Loading…
Reference in a new issue