Skip to content

Commit

Permalink
remove first character from verion variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubigla committed May 23, 2020
1 parent 1d339f2 commit 8fc17bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/kubers-agent/release.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ RUN set -ex && \
"${USER}"

RUN set -ex && \
wget https://github.com/jacops/kubers/releases/download/v${VERSION}/kubers_${VERSION}_Linux_x86_64.tar.gz
wget https://github.com/jacops/kubers/releases/download/v${VERSION#?}/kubers_${VERSION#?}_Linux_x86_64.tar.gz

RUN set -ex && \
tar -xvf kubers_${VERSION}_Linux_x86_64.tar.gz
tar -xvf kubers_${VERSION#?}_Linux_x86_64.tar.gz

FROM scratch

Expand Down
4 changes: 2 additions & 2 deletions cmd/kubersd/release.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ RUN set -ex && \
"${USER}"

RUN set -ex && \
wget https://github.com/jacops/kubers/releases/download/v${VERSION}/kubers_${VERSION}_Linux_x86_64.tar.gz
wget https://github.com/jacops/kubers/releases/download/v${VERSION#?}/kubers_${VERSION#?}_Linux_x86_64.tar.gz

RUN set -ex && \
tar -xvf kubers_${VERSION}_Linux_x86_64.tar.gz
tar -xvf kubers_${VERSION#?}_Linux_x86_64.tar.gz

FROM scratch

Expand Down

0 comments on commit 8fc17bb

Please sign in to comment.