1
0
Fork 0
mirror of synced 2024-11-17 06:45:33 -05:00

Include released versions of yadm in docker images

Make it easier to test upgrades (#276).
This commit is contained in:
Erik Flodin 2020-12-29 19:49:41 +01:00
parent 6df2a5df74
commit 6fc510f473
No known key found for this signature in database
GPG key ID: 420A7C865EE3F85F

View file

@ -56,6 +56,11 @@ RUN mkdir /yadm \
&& echo "\t@echo 'Try using a docker parameter like -v \"\$\$PWD:/yadm:ro\"'" >> /yadm/Makefile \
&& echo "\t@false" >> /yadm/Makefile
# Include released versions of yadm to test upgrades
ADD https://raw.githubusercontent.com/TheLocehiliosan/yadm/1.12.0/yadm /usr/local/bin/yadm-1.12.0
ADD https://raw.githubusercontent.com/TheLocehiliosan/yadm/2.5.0/yadm /usr/local/bin/yadm-2.5.0
RUN chmod +x /usr/local/bin/yadm-*
# /yadm will be the work directory for all tests
# docker commands should mount the local yadm project as /yadm
WORKDIR /yadm