1
0
mirror of https://github.com/rancher/os.git synced 2025-07-06 19:38:37 +00:00

Re-use the latest dapper

This commit is contained in:
niusmallnan 2019-02-10 15:06:06 +08:00
parent edf913012d
commit 8489e373f4
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ RUN curl -fL ${!BUILD_DOCKER_URL} > /usr/bin/docker && \
chmod +x /usr/bin/docker chmod +x /usr/bin/docker
# Install dapper # Install dapper
RUN curl -sL https://releases.rancher.com/dapper/v0.3.4/dapper-`uname -s`-`uname -m | sed 's/arm.*/arm/'` > /usr/bin/dapper && \ RUN curl -sL https://releases.rancher.com/dapper/latest/dapper-`uname -s`-`uname -m | sed 's/arm.*/arm/'` > /usr/bin/dapper && \
chmod +x /usr/bin/dapper chmod +x /usr/bin/dapper
RUN cd ${DOWNLOADS} && \ RUN cd ${DOWNLOADS} && \

View File

@ -2,7 +2,7 @@ TARGETS := $(shell ls scripts | grep -vE 'clean|run|help|release*|build-moby|run
.dapper: .dapper:
@echo Downloading dapper @echo Downloading dapper
@curl -sL https://releases.rancher.com/dapper/v0.3.4/dapper-`uname -s`-`uname -m|sed 's/v7l//'` > .dapper.tmp @curl -sL https://releases.rancher.com/dapper/latest/dapper-`uname -s`-`uname -m|sed 's/v7l//'` > .dapper.tmp
@@chmod +x .dapper.tmp @@chmod +x .dapper.tmp
@./.dapper.tmp -v @./.dapper.tmp -v
@mv .dapper.tmp .dapper @mv .dapper.tmp .dapper