Skip to content

Commit

Permalink
Reduce CLI docker image size (#7695)
Browse files Browse the repository at this point in the history
  • Loading branch information
h7kanna authored Nov 9, 2021
1 parent 1b38fc7 commit aa11238
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions airbyte-cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
FROM golang:1.14
ARG ALPINE_IMAGE=alpine:3.4
FROM ${ALPINE_IMAGE}

ENV GO111MODULE=on


# todo (cgardens) - replace this forked commit with an official version when a fix is released.
#RUN go get -u github.com/danielgtaylor/restish@v0.7.0
RUN go get -u github.com/cgardens/restish@e6f8ddda7fb5a3a989537272292c8321022cdb54
RUN apk --no-cache add curl tar \
&& curl -OL https://github.com/danielgtaylor/restish/releases/download/v0.9.0/restish-0.9.0-linux-`uname -m`.tar.gz \
&& tar -C /usr/local/bin -xzf restish-0.9.0-linux-`uname -m`.tar.gz \
&& rm -rf restish-0.9.0-linux-`uname -m`.tar.gz

ENTRYPOINT ["restish"]

Expand Down

0 comments on commit aa11238

Please sign in to comment.