Skip to content

Commit

Permalink
move WMDR codelist caching to Docker image build time (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Feb 24, 2024
1 parent 4e1cda7 commit ef25125
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wis2box-management/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ RUN apt-get update -y && apt-get install -y ${DEBIAN_PACKAGES} \
&& apt-get -q clean \
&& rm -rf /var/lib/apt/lists/* \
# cache WMDR codelists
&& mkdir -p /home/wis2box/wmdr-codelists \
&& mkdir /home/wis2box/wmdr-codelists \
&& curl "https://codes.wmo.int/wmdr/FacilityType?_format=csv&status=valid" --output-dir /home/wis2box/wmdr-codelists -o wmdr-FacilityType.csv \
&& curl "https://codes.wmo.int/wmdr/InstrumentOperatingStatus?_format=csv&status=valid" --output-dir /home/wis2box/wmdr-codelists -o wmdr-InstrumentOperatingStatus.csv \
Expand Down

0 comments on commit ef25125

Please sign in to comment.