Skip to content

Commit

Permalink
rest-server: Unpack binary to expected path
Browse files Browse the repository at this point in the history
  • Loading branch information
davidk committed Jun 19, 2023
1 parent b6ab453 commit 146ff3a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rest-server-arm/getLatestRestServer2Release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ FROM --platform=linux/amd64 alpine:3.16.1
RUN apk update \
&& apk add curl \
&& curl -SL -\# ${DL_LINK} > /rest-server.gz \
&& gunzip /rest-server.gz \
&& curl -SL -\# ${DL_LINK} > /rest-server.tar.gz \
&& tar -xvf /rest-server.tar.gz \
&& mv /rest-server*/rest-server / \
&& curl -SL -\# https://raw.githubusercontent.com/restic/rest-server/master/docker/entrypoint.sh > /entrypoint.sh \
&& curl -SL -\# https://raw.githubusercontent.com/restic/rest-server/master/docker/create_user > /create_user \
&& curl -SL -\# https://raw.githubusercontent.com/restic/rest-server/master/docker/delete_user > /delete_user \
Expand Down

0 comments on commit 146ff3a

Please sign in to comment.