Skip to content

Commit

Permalink
Revert "fix for issue 658 (#659)" (#669)
Browse files Browse the repository at this point in the history
This reverts commit 9a4e0fc.
  • Loading branch information
tomkralidis authored Apr 29, 2024
1 parent 9dcb319 commit 4effbe8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 260 deletions.
10 changes: 6 additions & 4 deletions wis2box-management/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ RUN apt-get update -y && apt-get install -y ${DEBIAN_PACKAGES} \
&& apt autoremove -y \
&& apt-get -q clean \
&& rm -rf /var/lib/apt/lists/* \
# create directory for wmdr codelists
&& mkdir -p /home/wis2box/wmdr-codelists
# cache WMDR codelists
&& mkdir -p /home/wis2box/wmdr-codelists \
&& curl -s "https://codes.wmo.int/wmdr/FacilityType?_format=csv&status=valid" > /home/wis2box/wmdr-codelists/FacilityType.csv \
&& curl -s "https://codes.wmo.int/wmdr/InstrumentOperatingStatus?_format=csv&status=valid" > /home/wis2box/wmdr-codelists/InstrumentOperatingStatus.csv \
&& curl -s "https://codes.wmo.int/wmdr/TerritoryName?_format=csv&status=valid" > /home/wis2box/wmdr-codelists/TerritoryName.csv \
&& curl -s "https://codes.wmo.int/wmdr/WMORegion?_format=csv&status=valid" > /home/wis2box/wmdr-codelists/WMORegion.csv

# copy wdmr codelists
COPY ./wmdr-codelists /home/wis2box/wmdr-codelists

# copy the app
COPY . /app
Expand Down
15 changes: 0 additions & 15 deletions wis2box-management/wmdr-codelists/FacilityType.csv

This file was deleted.

This file was deleted.

Loading

0 comments on commit 4effbe8

Please sign in to comment.