Skip to content

Commit

Permalink
Merge pull request #534 from hilary/openssh
Browse files Browse the repository at this point in the history
fix doctl compute ssh in docker hub container
  • Loading branch information
hilary committed Aug 2, 2019
2 parents 6a0564d + 49bfb44 commit 7f57182
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
10 changes: 6 additions & 4 deletions Dockerfile.cntr
Expand Up @@ -16,10 +16,12 @@ FROM alpine:latest

VOLUME ["/copy"]

RUN apk add --update \
rsync \
libc6-compat \
openssh
RUN apk add --update \
rsync \
libc6-compat \
openssh \
ca-certificates


COPY --from=0 /out/* /app/

Expand Down
13 changes: 7 additions & 6 deletions Dockerfile.goreleaser
@@ -1,11 +1,12 @@
# Note: RUN apk add --no-cache curl
# fixes certificate errors

FROM alpine:3.8

RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2

RUN apk add --no-cache curl
RUN apk add --update \
bash \
curl \
rsync \
libc6-compat \
openssh \
ca-certificates

WORKDIR /app

Expand Down

0 comments on commit 7f57182

Please sign in to comment.