Skip to content

Commit

Permalink
Rebase to 3.20
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Jun 6, 2024
1 parent 5afa5bb commit 7bce52e
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 20 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.19
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.20

# set version label
ARG BUILD_DATE
Expand All @@ -16,7 +16,6 @@ RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
build-base \
musl-dev \
python3 && \
echo "**** install runtime packages ****" && \
apk add --no-cache \
Expand All @@ -33,7 +32,7 @@ RUN \
/tmp/budge.tar.gz -L \
"https://github.com/linuxserver/budge/archive/${BUDGE_RELEASE}.tar.gz" && \
tar xf \
/tmp/budge.tar.gz -C \
/tmp/budge.tar.gz -C \
/app/www/public/ --strip-components=1 && \
echo "**** install backend ****" && \
cd /app/www/public/backend && \
Expand All @@ -49,8 +48,9 @@ RUN \
npm run build && \
npm prune --omit=dev && \
echo "**** overlay-fs bug workaround ****" && \
mv /app/www/public/frontend/node_modules /app/www/public/frontend/node_modules-tmp && \
mv /app/www/public/frontend/node_modules /app/www/public/frontend/node_modules-tmp && \
mv /app/www/public/backend/node_modules /app/www/public/backend/node_modules-tmp && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
npm cache clean --force && \
apk del --purge \
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

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

# set version label
ARG BUILD_DATE
Expand All @@ -16,7 +16,6 @@ RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
build-base \
musl-dev \
python3 && \
echo "**** install runtime packages ****" && \
apk add --no-cache \
Expand All @@ -33,7 +32,7 @@ RUN \
/tmp/budge.tar.gz -L \
"https://github.com/linuxserver/budge/archive/${BUDGE_RELEASE}.tar.gz" && \
tar xf \
/tmp/budge.tar.gz -C \
/tmp/budge.tar.gz -C \
/app/www/public/ --strip-components=1 && \
echo "**** install backend ****" && \
cd /app/www/public/backend && \
Expand All @@ -49,8 +48,9 @@ RUN \
npm run build && \
npm prune --omit=dev && \
echo "**** overlay-fs bug workaround ****" && \
mv /app/www/public/frontend/node_modules /app/www/public/frontend/node_modules-tmp && \
mv /app/www/public/frontend/node_modules /app/www/public/frontend/node_modules-tmp && \
mv /app/www/public/backend/node_modules /app/www/public/backend/node_modules-tmp && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
npm cache clean --force && \
apk del --purge \
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pipeline {
CI_PORT='80'
CI_SSL=''
CI_DELAY='60'
CI_DOCKERENV='TZ=America/New_York'
CI_DOCKERENV=''
CI_AUTH=''
CI_WEBPATH=''
}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **06.06.24:** - Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings.
* **06.03.24:** - Existing users should update: site-confs/default.conf - Cleanup default site conf.
* **06.03.24:** - Rebase to Alpine 3.19 with php 8.3.
* **25.05.23:** - Rebase to Alpine 3.18, deprecate armhf.
Expand Down
3 changes: 1 addition & 2 deletions jenkins-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ external_type: github_stable
release_type: stable
release_tag: latest
ls_branch: main
build_armhf: false
repo_vars:
- EXT_GIT_BRANCH = 'main'
- EXT_USER = 'linuxserver'
Expand All @@ -25,6 +24,6 @@ repo_vars:
- CI_PORT='80'
- CI_SSL=''
- CI_DELAY='60'
- CI_DOCKERENV='TZ=America/New_York'
- CI_DOCKERENV=''
- CI_AUTH=''
- CI_WEBPATH=''
4 changes: 1 addition & 3 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,14 @@ param_usage_include_ports: true
param_ports:
- { external_port: "80", internal_port: "80", port_desc: "http gui" }
- { external_port: "443", internal_port: "443", port_desc: "https gui" }
param_usage_include_env: true
param_env_vars:
- { env_var: "TZ", env_value: "America/New_York", desc: "Specify a timezone to use EG America/New_York"}

# application setup block
app_setup_block_enabled: true
app_setup_block: |
Access the web gui at http://SERVERIP:PORT
# changelog
changelogs:
- { date: "06.06.24:", desc: "Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings."}
- { date: "06.03.24:", desc: "Existing users should update: site-confs/default.conf - Cleanup default site conf." }
- { date: "06.03.24:", desc: "Rebase to Alpine 3.19 with php 8.3."}
- { date: "25.05.23:", desc: "Rebase to Alpine 3.18, deprecate armhf." }
Expand Down
9 changes: 3 additions & 6 deletions root/defaults/nginx/site-confs/default.conf.sample
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
## Version 2024/03/06 - Changelog: https://github.com/linuxserver/docker-budge/commits/main/root/defaults/nginx/site-confs/default.conf.sample
## Version 2024/06/06 - Changelog: https://github.com/linuxserver/docker-budge/commits/main/root/defaults/nginx/site-confs/default.conf.sample

server {
listen 80 default_server;
listen [::]:80 default_server;

listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
listen *:80 default_server;
listen *:443 ssl default_server;

server_name _;

Expand Down

0 comments on commit 7bce52e

Please sign in to comment.