-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
13 lines (9 loc) · 879 Bytes
/
Dockerfile
File metadata and controls
13 lines (9 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM frolvlad/alpine-glibc
RUN apk update \
&& apk add ca-certificates wget \
&& update-ca-certificates \
&& apk add --no-cache --upgrade bash
ARG POWERGATE_CLI_VERSION="v0.0.0"
WORKDIR /opt/powcli
RUN wget -O powcli.tar.gz https://github.com/textileio/powergate/releases/download/${POWERGATE_CLI_VERSION}/pow_${POWERGATE_CLI_VERSION}_linux-amd64.tar.gz \
&& tar -xf powcli.tar.gz && cd pow_${POWERGATE_CLI_VERSION}_linux-amd64 && ./install