forked from skoussou/summit-ossm-labs-guides
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
27 lines (20 loc) · 998 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="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]:redhat-gpte-devopsautomation/ossm-labs-guides"
LABEL org.opencontainers.image.documentation="https://github.com/redhat-gpte-devopsautomation/ossm-labs-guides"
LABEL org.opencontainers.image.authors="juliano"
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/