Skip to content

Commit 0aa4d3a

Browse files
alpine-shell: use cli from GH
1 parent 3490cd0 commit 0aa4d3a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

alpine-shell/base/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
FROM alpine
22
LABEL maintainer="HyperOne"
33
WORKDIR /data
4-
RUN apk add --repository "http://dl-cdn.alpinelinux.org/alpine/edge/testing" h1-cli
4+
# RUN apk add --repository "http://dl-cdn.alpinelinux.org/alpine/edge/testing" h1-cli
5+
RUN wget -c https://github.com/hyperonecom/h1-cli/releases/download/v2.3.2/h1-linux.tar.gz -O - | tar -xz -C /bin
56
RUN apk add --no-cache curl git less rsync wget nano mc vim mariadb-client openssh-sftp-server zip unzip subversion postgresql-client
67
RUN ln -s /usr/lib/ssh/sftp-server /usr/bin/sftp-server
78
RUN adduser --uid 23456 --disabled-password --gecos "" --home /data run-user && chown run-user:run-user -R /data

alpine-shell/latest/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
FROM alpine
22
LABEL maintainer="HyperOne"
33
WORKDIR /data
4-
RUN apk add --repository "http://dl-cdn.alpinelinux.org/alpine/edge/testing" h1-cli
4+
# RUN apk add --repository "http://dl-cdn.alpinelinux.org/alpine/edge/testing" h1-cli
5+
RUN wget -c https://github.com/hyperonecom/h1-cli/releases/download/v2.3.2/h1-linux.tar.gz -O - | tar -xz -C /bin
56
RUN apk add --no-cache curl git less rsync wget nano mc vim mariadb-client openssh-sftp-server zip unzip subversion postgresql-client
67
RUN ln -s /usr/lib/ssh/sftp-server /usr/bin/sftp-server
78
RUN adduser --uid 23456 --disabled-password --gecos "" --home /data run-user && chown run-user:run-user -R /data

0 commit comments

Comments
 (0)