Skip to content

Commit dab4b53

Browse files
committed
Merge branch 'release/17.0' into dev
2 parents b2db7c0 + 11c3404 commit dab4b53

File tree

5 files changed

+15
-4
lines changed

5 files changed

+15
-4
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ jobs:
294294
- name: Upload digest
295295
uses: actions/upload-artifact@v6
296296
with:
297-
name: digests-${{ inputs.tag }}-${{ matrix.target }}-${{ matrix.digest }}
297+
name: digests-${{ inputs.tag }}-${{ matrix.target }}--${{ matrix.digest }}
298298
path: /tmp/digests/*
299299
if-no-files-found: error
300300
retention-days: 1
@@ -310,7 +310,7 @@ jobs:
310310
- name: Merge digests
311311
uses: actions/upload-artifact/merge@v6
312312
with:
313-
pattern: "digests-${{ inputs.tag }}-${{ matrix.target }}-${{ matrix.digest }}*"
313+
pattern: "digests-${{ inputs.tag }}-${{ matrix.target }}--*"
314314
overwrite: true
315315
name: "merged-digests-${{ inputs.tag }}-${{ matrix.target }}-${{ github.run_number }}-${{ github.run_attempt }}"
316316
- name: Download digests

bin/build-docker-aio

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
docker build -t openproject/openproject:$(git rev-parse --abbrev-ref HEAD | tr '/' '-') --build-arg DEBIAN_BASE=bookworm -f docker/prod/Dockerfile .
4+

bin/build-docker-slim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
docker build -t openproject/openproject:$(git rev-parse --abbrev-ref HEAD | tr '/' '-')-slim --build-arg BIM_SUPPORT=false --target slim -f docker/prod/Dockerfile .
4+

docker/prod/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG DEBIAN_BASE="trixie"
33
# Add SBOM scan context for intermediate steps
44
ARG BUILDKIT_SBOM_SCAN_CONTEXT=true
55
ARG BUILDKIT_SBOM_SCAN_STAGE=true
6-
FROM ruby:${RUBY_VERSION}-${DEBIAN_BASE} AS base
6+
FROM ruby:${RUBY_VERSION}-slim-${DEBIAN_BASE} AS base
77
LABEL maintainer="operations@openproject.com"
88

99
ARG NODE_VERSION="22.21.0"

docker/prod/setup/preinstall-common.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ apt-get upgrade -y
2929

3030
apt-get install -yq --no-install-recommends \
3131
curl \
32+
wget \
3233
file \
3334
gnupg2 \
3435
lsb-release
@@ -51,7 +52,9 @@ apt-get install -yq --no-install-recommends \
5152
imagemagick \
5253
libclang-dev \
5354
libjemalloc2 \
54-
git
55+
git \
56+
build-essential \
57+
libyaml-dev \
5558

5659
for version in $PGVERSION_CHOICES ; do
5760
apt-get install -yq --no-install-recommends postgresql-client-$version

0 commit comments

Comments
 (0)