Files
charts/containers/apps/nextcloud-imaginary/Dockerfile
TrueCharts Bot 3f53d8eeab chore(container): update alpine docker tag to v3.21.0 (#30164)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| alpine | final | minor | `3.20.3` -> `3.21.0` |
| alpine | stage | minor | `3.20.3` -> `3.21.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44Mi45IiwidXBkYXRlZEluVmVyIjoiMzkuODIuOSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19-->

Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
Co-authored-by: Kjeld Schouten <info@kjeldschouten.nl>
2024-12-29 14:50:58 +01:00

36 lines
963 B
Docker

# https://github.com/nextcloud/all-in-one/tree/main/Containers/imaginary
FROM golang:1.21.5-alpine3.17@sha256:92cb87af996ec6befc85f0aec27e12ead2fab396695fa8a7abff79e021e58195 as go
# hadolint ignore=DL3018
RUN set -ex; \
apk add --no-cache \
vips-jxl \
vips-dev \
vips-heif \
build-base \
vips-magick \
vips-poppler; \
go install github.com/h2non/imaginary@b632dae8cc321452c3f85bcae79c580b1ae1ed84
FROM alpine:3.21.0@sha256:21dc6063fd678b478f57c0e13f47560d0ea4eeba26dfc947b2a4f81f686b9f45
# hadolint ignore=DL3018
RUN set -ex; \
apk add --no-cache \
vips \
curl \
tzdata \
vips-jxl \
vips-heif \
vips-magick \
vips-poppler \
ca-certificates
COPY --from=go /go/bin/imaginary /usr/local/bin/imaginary
USER nobody
# https://github.com/h2non/imaginary#memory-issues
ENV MALLOC_ARENA_MAX=2
ENTRYPOINT ["imaginary", "-p", "${PORT:-9000}"]