Skip to content

Commit 2a05fd7

Browse files
committed
chore(docker): get publishers.*.yml from italia/developers.italia.it
Get the publishers from the repo at italia/developers.italia.it when building the Docker image. italia#298
1 parent e61ca24 commit 2a05fd7

File tree

3 files changed

+3
-225
lines changed

3 files changed

+3
-225
lines changed

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ COPY scanner scanner
2525
COPY jekyll jekyll
2626
COPY metrics metrics
2727
COPY version version
28-
COPY publishers.thirdparty.yml publishers.thirdparty.yml
29-
COPY publishers.yml publishers.yml
3028
COPY blacklist blacklist
3129
COPY config.toml.example config.toml
3230
COPY domains.yml.example domains.yml
@@ -38,6 +36,9 @@ COPY start.sh .
3836
COPY vitality-ranges.yml .
3937
COPY wait-for-it.sh .
4038

39+
RUN wget https://raw.githubusercontent.com/italia/developers.italia.it/HEAD/_data/publishers.thirdparty.yml
40+
RUN wget https://raw.githubusercontent.com/italia/developers.italia.it/HEAD/_data/publishers.yml
41+
4142
# Run as unprivileged user
4243
RUN adduser --home ${HOME} --shell /bin/sh --disabled-password ${USER}
4344

publishers.thirdparty.yml

-172
This file was deleted.

publishers.yml

-51
This file was deleted.

0 commit comments

Comments
 (0)