|
2 | 2 | # Assets build |
3 | 3 | ################################ |
4 | 4 | FROM node:24-alpine AS assets_builder |
5 | | -LABEL maintainer="ITK Dev <itkdev@ba.aarhus.dk>" |
6 | 5 |
|
7 | 6 | ARG APP_VERSION="develop" |
8 | 7 |
|
@@ -33,7 +32,6 @@ RUN npm run build |
33 | 32 | # TODO: pin to a specific `alpine-1.4.x` tag (or a digest) once we |
34 | 33 | # settle on a baseline. Same caveat applies to the final stage below. |
35 | 34 | FROM itkdev/php8.4-fpm:alpine AS api_app_builder |
36 | | -LABEL maintainer="ITK Dev <itkdev@ba.aarhus.dk>" |
37 | 35 |
|
38 | 36 | ARG APP_VERSION="develop" |
39 | 37 | ARG APP_RELEASE_TIMESTAMP=0 |
@@ -90,7 +88,15 @@ RUN printf '{"releaseTimestamp": %s, "releaseTime": "%s", "releaseVersion": "%s" |
90 | 88 | # PHP-FPM (API) production image |
91 | 89 | ################################ |
92 | 90 | FROM itkdev/php8.4-fpm:alpine |
93 | | -LABEL maintainer="ITK Dev <itkdev@ba.aarhus.dk>" |
| 91 | + |
| 92 | +# OCI image annotations. `title`, `description`, `url`, `source`, `version`, |
| 93 | +# `created`, `revision` and `licenses` are injected at build time by the |
| 94 | +# docker/metadata-action step in .github/workflows/build-images.yml; the |
| 95 | +# four below are not emitted by that action and have to live here. |
| 96 | +LABEL org.opencontainers.image.authors="ITK Dev <itkdev@ba.aarhus.dk>" \ |
| 97 | + org.opencontainers.image.vendor="OS2Display" \ |
| 98 | + org.opencontainers.image.documentation="https://github.com/os2display/display-api-service#readme" \ |
| 99 | + org.opencontainers.image.base.name="itkdev/php8.4-fpm:alpine" |
94 | 100 |
|
95 | 101 | ENV APP_ENV=prod \ |
96 | 102 | PHP_OPCACHE_ENABLED=1 \ |
|
0 commit comments