-
Notifications
You must be signed in to change notification settings - Fork 6
/
Dockerfile
27 lines (20 loc) · 980 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
### BUILDER IMAGE ###
FROM docker.io/antora/antora:3.1.2 as builder
ADD . /antora/
RUN antora generate --stacktrace site.yml
### RUNTIME IMAGE ###
FROM registry.redhat.io/ubi8/httpd-24:1-256.1680797936
ARG CREATED_AT=none
ARG GITHUB_SHA=none
LABEL org.opencontainers.image.created="$CREATED_AT"
LABEL org.opencontainers.image.revision="$GITHUB_SHA"
LABEL org.opencontainers.image.title="Summit OSSM Labs Guides"
LABEL org.opencontainers.image.description="Website of OSSM Labs Guides."
LABEL org.opencontainers.image.url="https://demo.redhat.com"
LABEL org.opencontainers.image.source="[email protected]:skoussou/summit-ossm-labs-guides"
LABEL org.opencontainers.image.documentation="https://github.com/skoussou/summit-ossm-labs-guides"
LABEL org.opencontainers.image.authors="skoussou"
LABEL org.opencontainers.image.vendor="redhat"
LABEL org.opencontainers.image.licenses="MIT"
LABEL org.opencontainers.image.version="1.0.0"
COPY --from=builder /antora/site/ /var/www/html/