forked from evanshortiss/rht-summit-2023-lab-guide
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Dockerfile
27 lines (20 loc) · 1.04 KB
/
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.access.redhat.com/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="Using GitOps Workshop Guide"
LABEL org.opencontainers.image.description="A httpd container that serve the workshop guide."
LABEL org.opencontainers.image.url="https://demo.redhat.com"
LABEL org.opencontainers.image.source="[email protected]:redhat-scholars/summit-2023-gitops-lab-guide"
LABEL org.opencontainers.image.documentation="https://github.com/redhat-scholars/summit-2023-gitops-lab-guide"
LABEL org.opencontainers.image.authors="redhat-scholars"
LABEL org.opencontainers.image.vendor="redhat"
LABEL org.opencontainers.image.licenses="MIT"
LABEL org.opencontainers.image.version="1.0.0"
COPY --from=builder --chown=1001:1001 /antora/site/ /var/www/html/