mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-27 00:51:39 +08:00
websites: use upstream dockerfile
This commit is contained in:
@@ -12,18 +12,6 @@ spec:
|
||||
git:
|
||||
uri: "https://gitlab.com/fedora/websites-apps/fedora-websites/fedora-websites-3.0.git"
|
||||
ref: main
|
||||
dockerfile: |-
|
||||
FROM docker.io/library/node:18 as build
|
||||
RUN apt-get update && apt-get install -y translate-toolkit && rm -rf /var/lib/apt/lists/*
|
||||
ADD . /websites
|
||||
WORKDIR /websites
|
||||
RUN npm install
|
||||
RUN npm run generate
|
||||
|
||||
FROM quay.io/fedora/fedora:37
|
||||
RUN dnf -y install s3cmd && dnf clean all
|
||||
COPY --from=build /websites/.output/public /output
|
||||
|
||||
{% else %}
|
||||
dockerfile: |-
|
||||
FROM fedora:34
|
||||
|
||||
Reference in New Issue
Block a user