Skip to content

Commit

Permalink
set plugins to fixed versions in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mmacata committed Feb 6, 2020
1 parent b2cce89 commit a0a2b8c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ cover/*
MANIFEST

# docker
dev
docker/redis_data/dump.rdb
!docker/actinia-core/actinia.cfg
!docker/actinia-core-latest/actinia.cfg
Expand Down
12 changes: 6 additions & 6 deletions docker/actinia-core-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@ RUN while IFS=, read -r ADDON SERVER; do unset URL; test -z $SERVER || URL="url=
# Currently, ADD always breaks cache, as "download_count" increases every time
# ADD https://api.github.com/repos/mundialis/actinia_statistic_plugin/releases/latest /scratch/actinia_statistic_plugin_latest_release.json
WORKDIR /build
# Get statistics plugin
RUN curl https://api.github.com/repos/mundialis/actinia_statistic_plugin/releases/latest > resp.json && \
# Get statistics plugin (22648768 = 0.0.1)
RUN curl https://api.github.com/repos/mundialis/actinia_statistic_plugin/releases/22648768 > resp.json && \
name=`cat resp.json | jq '.assets[0].name' | tr -d '"'` && \
cat resp.json | jq '.assets[0].browser_download_url' | xargs curl -L --output /build/$name && rm resp.json
# Get satellite plugin
RUN curl https://api.github.com/repos/mundialis/actinia_satellite_plugin/releases/latest > resp.json && \
# Get satellite plugin (22686533 = 0.0.1)
RUN curl https://api.github.com/repos/mundialis/actinia_satellite_plugin/releases/22686533 > resp.json && \
name=`cat resp.json | jq '.assets[0].name' | tr -d '"'` && \
cat resp.json | jq '.assets[0].browser_download_url' | xargs curl -L --output /build/$name && rm resp.json
# Get actinia-gdi plugin
RUN curl https://api.github.com/repos/mundialis/actinia-gdi/releases/latest > resp.json && \
# Get actinia-gdi plugin (23445806 = 0.1.5)
RUN curl https://api.github.com/repos/mundialis/actinia-gdi/releases/23445806 > resp.json && \
name=`cat resp.json | jq '.assets[0].name' | tr -d '"'` && \
cat resp.json | jq '.assets[0].browser_download_url' | xargs curl -L --output /build/$name && rm resp.json
# Install actinia-core and plugins
Expand Down

0 comments on commit a0a2b8c

Please sign in to comment.