Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase to Alpine 3.19 #7

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# syntax=docker/dockerfile:1

FROM golang:1.18-alpine AS builder
FROM golang:1.21-alpine AS builder

ARG HISHTORY_RELEASE
# This is a tempoary fix until upstream bumps mattn/go-sqlite to v1.14.19 or above, see https://github.com/mattn/go-sqlite3/issues/1164
ARG CGO_CFLAGS="-D_LARGEFILE64_SOURCE"

RUN \
apk add --no-cache \
Expand All @@ -23,7 +25,7 @@ RUN \
unset GOPATH; go mod download && \
unset GOPATH; go build -o /server -ldflags "-X main.ReleaseVersion=v0.`cat VERSION`" backend/server/server.go

FROM ghcr.io/linuxserver/baseimage-alpine:3.18
FROM ghcr.io/linuxserver/baseimage-alpine:3.19

# set version label
ARG BUILD_DATE
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# syntax=docker/dockerfile:1

FROM golang:1.18-alpine AS builder
FROM golang:1.21-alpine AS builder

ARG HISHTORY_RELEASE
# This is a tempoary fix until upstream bumps mattn/go-sqlite to v1.14.19 or above, see https://github.com/mattn/go-sqlite3/issues/1164
ARG CGO_CFLAGS="-D_LARGEFILE64_SOURCE"

RUN \
apk add --no-cache \
Expand All @@ -23,7 +25,7 @@ RUN \
unset GOPATH; go mod download && \
unset GOPATH; go build -o /server -ldflags "-X main.ReleaseVersion=v0.`cat VERSION`" backend/server/server.go

FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.18
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.19

# set version label
ARG BUILD_DATE
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ app_setup_block: |

# changelog
changelogs:
- { date: "31.01.24:", desc: "Rebase to Alpine 3.19." }
- { date: "19.05.23:", desc: "Initial Release." }