Skip to content

Commit

Permalink
[cherry-pick] Prepare docker image for multi arch (#11)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
1gtm authored Oct 11, 2021
1 parent 898dc86 commit a8d1ab1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.dbg
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN set -x \
&& chmod 755 restic

RUN set -x \
&& curl -fsSL -o nats.zip https://github.com/nats-io/natscli/releases/download/{NATS_CLI_VER}/nats-{NATS_CLI_VER}-linux-amd64.zip \
&& curl -fsSL -o nats.zip https://github.com/nats-io/natscli/releases/download/{NATS_CLI_VER}/nats-{NATS_CLI_VER}-{ARG_OS}-{ARG_ARCH}.zip \
&& unzip nats.zip

FROM {ARG_FROM}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN set -x \
&& chmod 755 restic

RUN set -x \
&& curl -fsSL -o nats.zip https://github.com/nats-io/natscli/releases/download/{NATS_CLI_VER}/nats-{NATS_CLI_VER}-linux-amd64.zip \
&& curl -fsSL -o nats.zip https://github.com/nats-io/natscli/releases/download/{NATS_CLI_VER}/nats-{NATS_CLI_VER}-{ARG_OS}-{ARG_ARCH}.zip \
&& unzip nats.zip

FROM {ARG_FROM}
Expand Down

0 comments on commit a8d1ab1

Please sign in to comment.