Skip to content

Commit

Permalink
Build and push 24.02-k8s5
Browse files Browse the repository at this point in the history
  • Loading branch information
sando38 committed May 29, 2024
1 parent a73ed98 commit 11c9cd5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
18 changes: 13 additions & 5 deletions image/24.02/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#' Define default build variables
## source ARGs
ARG GO_VSN='1.22'
ARG ERLANG_VSN='25.3.2.12'
ARG ELIXIR_VSN='1.14.5'
ARG ERLANG_VSN='26.2.5'
ARG ELIXIR_VSN='1.16.3'
## general ARGs
ARG UID='9000'
ARG USER='ejabberd'
Expand All @@ -12,15 +12,21 @@ ARG VERSION='master'

################################################################################
#' build elector
FROM docker.io/golang:${GO_VSN}-alpine AS elector
RUN apk -U add --no-cache \
FROM cgr.dev/chainguard/wolfi-base AS elector
ARG GO_VSN
RUN apk -U upgrade --available && apk add --no-cache \
build-base \
git
git \
go-$GO_VSN

WORKDIR /elector
RUN git clone https://github.com/sando38/k8s-elector \
--branch update-packages --depth 1 .

RUN go get google.golang.org/[email protected] \
&& go get golang.org/x/[email protected] \
&& go mod tidy

RUN make build-linux

################################################################################
Expand Down Expand Up @@ -63,6 +69,8 @@ RUN wget -O - https://github.com/erlang/otp/releases/download/OTP-"$ERLANG_VSN"/
| tar -xzf -

WORKDIR /otp_src_"$ERLANG_VSN"
## https://github.com/processone/ejabberd/commit/b288d5c76370e44fef3a9caa6fbb888435057a2a
RUN sed -i 's|if(size == 0 && (sql_type == SQL_LONGVARCHAR|if((sql_type == SQL_LONGVARCHAR|g' lib/odbc/c_src/odbcserver.c
RUN ./configure \
--prefix=/usr \
--sysconfdir=/etc \
Expand Down
2 changes: 1 addition & 1 deletion image/tag
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# -k8sX specifies the image release, new releases have a higher ordinal number
# changes in this file trigger a rebuild of the container image

24.02-k8s4
24.02-k8s5

0 comments on commit 11c9cd5

Please sign in to comment.