Skip to content

Commit ff23977

Browse files
committed
Rebase to 3.22, try building with sbom & provenance again
1 parent 5ab58c0 commit ff23977

11 files changed

Lines changed: 11 additions & 9 deletions

.editorconfig

100755100644
File mode changed.

.github/ISSUE_TEMPLATE/issue.bug.yml

100755100644
File mode changed.

.github/ISSUE_TEMPLATE/issue.feature.yml

100755100644
File mode changed.

.github/workflows/call_issue_pr_tracker.yml

100755100644
File mode changed.

.github/workflows/call_issues_cron.yml

100755100644
File mode changed.

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.20
3+
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.22
44

55
ARG BUILD_DATE
66
ARG VERSION
@@ -17,13 +17,13 @@ RUN \
1717
apk add --no-cache \
1818
ffmpeg \
1919
file \
20-
imagemagick \
2120
libpq \
2221
libidn \
2322
nodejs \
2423
ruby \
2524
ruby-bundler \
2625
ruby-rdoc \
26+
vips \
2727
yaml && \
2828
apk add --no-cache --virtual=build-dependencies \
2929
build-base \
@@ -36,6 +36,7 @@ RUN \
3636
npm \
3737
openssl-dev \
3838
ruby-dev \
39+
vips-dev \
3940
yaml-dev && \
4041
echo "**** install mastodon ****" && \
4142
mkdir -p /app/www && \

Dockerfile.aarch64

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.20
3+
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.22
44

55
ARG BUILD_DATE
66
ARG VERSION
@@ -18,13 +18,13 @@ RUN \
1818
ffmpeg \
1919
file \
2020
gcompat \
21-
imagemagick \
2221
libpq \
2322
libidn \
2423
nodejs \
2524
ruby \
2625
ruby-bundler \
2726
ruby-rdoc \
27+
vips \
2828
yaml && \
2929
apk add --no-cache --virtual=build-dependencies \
3030
build-base \
@@ -38,6 +38,7 @@ RUN \
3838
openssl-dev \
3939
python3-dev \
4040
ruby-dev \
41+
vips-dev \
4142
yaml-dev && \
4243
echo "**** install mastodon ****" && \
4344
mkdir -p /app/www && \

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ pipeline {
592592
--label \"org.opencontainers.image.title=Mastodon\" \
593593
--label \"org.opencontainers.image.description=[Mastodon](https://github.com/mastodon/mastodon/) is a free, open-source social network server based on ActivityPub where users can follow friends and discover new ones.. \" \
594594
--no-cache --pull -t ${IMAGE}:${META_TAG} --platform=linux/amd64 \
595-
--provenance=false --sbom=false --builder=default --load \
595+
--provenance=true --sbom=true --builder=default --load \
596596
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
597597
sh '''#! /bin/bash
598598
set -e
@@ -658,7 +658,7 @@ pipeline {
658658
--label \"org.opencontainers.image.title=Mastodon\" \
659659
--label \"org.opencontainers.image.description=[Mastodon](https://github.com/mastodon/mastodon/) is a free, open-source social network server based on ActivityPub where users can follow friends and discover new ones.. \" \
660660
--no-cache --pull -t ${IMAGE}:amd64-${META_TAG} --platform=linux/amd64 \
661-
--provenance=false --sbom=false --builder=default --load \
661+
--provenance=true --sbom=true --builder=default --load \
662662
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
663663
sh '''#! /bin/bash
664664
set -e
@@ -717,7 +717,7 @@ pipeline {
717717
--label \"org.opencontainers.image.title=Mastodon\" \
718718
--label \"org.opencontainers.image.description=[Mastodon](https://github.com/mastodon/mastodon/) is a free, open-source social network server based on ActivityPub where users can follow friends and discover new ones.. \" \
719719
--no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} --platform=linux/arm64 \
720-
--provenance=false --sbom=false --builder=default --load \
720+
--provenance=true --sbom=true --builder=default --load \
721721
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
722722
sh '''#! /bin/bash
723723
set -e

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
432432

433433
## Versions
434434

435+
* **04.06.25:** - Rebase to Alpine 3.22.
435436
* **26.08.24:** - Rebase to Alpine 3.20, enable [Active Record Encryption](https://github.com/mastodon/mastodon/pull/29831/files). Existing users should update their nginx confs to avoid http2 deprecation warnings.
436437
* **08.08.23:** - Rebase to Alpine 3.18, migrate to s6v3
437438
* **09.02.23:** - Add Glitch branch.

jenkins-vars.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ external_type: custom_json
66
release_type: prerelease
77
release_tag: develop
88
ls_branch: develop
9-
image_provenance: false
10-
image_sbom: false
119
image_builder: default
1210
repo_vars:
1311
- JSON_URL='https://api.github.com/repos/mastodon/mastodon/releases'

0 commit comments

Comments
 (0)