Compare commits
3 Commits
1f6c90db8c
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
5734f68f97
|
|||
|
f978e0a26b
|
|||
|
7b1b154e95
|
@@ -37,6 +37,7 @@ jobs:
|
||||
build-args: |
|
||||
LIBRESSL_VERSION=4.2.1
|
||||
NGINX_VERSION=1.30.0
|
||||
NJS_VERSION=0.9.8
|
||||
NGINX_BRANCH=vanilla
|
||||
-
|
||||
name: Build and push nginx custom images
|
||||
@@ -59,4 +60,5 @@ jobs:
|
||||
build-args: |
|
||||
LIBRESSL_VERSION=4.2.1
|
||||
NGINX_VERSION=1.30.0
|
||||
NJS_VERSION=0.9.8
|
||||
NGINX_BRANCH=woggioni
|
||||
|
||||
@@ -24,12 +24,12 @@ jobs:
|
||||
builder: multiplatform-builder
|
||||
context: "{{defaultContext}}:opencode"
|
||||
build-args: |
|
||||
OPENCODE_VERSION=1.14.48
|
||||
OPENCODE_VERSION=1.15.3
|
||||
platforms: |
|
||||
linux/amd64
|
||||
push: true
|
||||
pull: true
|
||||
tags: |
|
||||
"gitea.woggioni.net/woggioni/opencode:1.14.48"
|
||||
"gitea.woggioni.net/woggioni/opencode:1.15.3"
|
||||
"gitea.woggioni.net/woggioni/opencode:latest"
|
||||
|
||||
|
||||
+3
-4
@@ -2,7 +2,7 @@ ARG NGINX_BRANCH=vanilla
|
||||
FROM alpine:3.23 AS base
|
||||
|
||||
FROM base AS build_stage_1
|
||||
ARG NGINX_VERSION LIBRESSL_VERSION
|
||||
ARG NGINX_VERSION LIBRESSL_VERSION NJS_VERSION
|
||||
RUN --mount=type=cache,target=/var/cache/apk apk update
|
||||
RUN --mount=type=cache,target=/var/cache/apk apk add \
|
||||
autoconf \
|
||||
@@ -34,8 +34,7 @@ RUN --mount=type=cache,target=/var/cache/apk apk add \
|
||||
tar \
|
||||
tzdata \
|
||||
zlib \
|
||||
zlib-dev \
|
||||
mercurial
|
||||
zlib-dev
|
||||
RUN adduser -D luser
|
||||
USER luser
|
||||
WORKDIR /home/luser
|
||||
@@ -69,7 +68,7 @@ ADD --chown=luser:luser https://github.com/google/ngx_brotli.git /ngx_brotli
|
||||
|
||||
USER root
|
||||
WORKDIR /
|
||||
RUN hg clone http://hg.nginx.org/njs /njs
|
||||
ADD --chown=luser:luser git@github.com:nginx/njs.git#${NJS_VERSION} /njs
|
||||
RUN chown luser:luser -R /njs
|
||||
USER luser
|
||||
WORKDIR /home/luser
|
||||
|
||||
Reference in New Issue
Block a user