Sha256: 04278b5a425b36ccf71d517239219d66390e15b9b617fd92517ff2d2b33f952b

Contents?: true

Size: 700 Bytes

Versions: 46

Compression:

Stored size: 700 Bytes

Contents

FROM alpine:3.4
MAINTAINER Kontena, Inc. <info@kontena.io>

ADD https://get.docker.com/builds/Linux/x86_64/docker-1.10.3 /usr/local/bin/docker
ARG CLI_VERSION

RUN apk update && \
  apk --update add ruby ruby-json ruby-bigdecimal ruby-io-console \
  ca-certificates libssl1.0 openssl libstdc++ && \
  gem install kontena-cli --no-rdoc --no-ri -v ${CLI_VERSION} && \
  adduser kontena -D -h /home/kontena -s /bin/sh && \
  echo "gem: --user-install" > /home/kontena/.gemrc && \
  chown -R kontena.kontena /home/kontena && \
  chmod +sx /usr/local/bin/docker

ENV PATH=$PATH:/home/kontena/.gem/ruby/2.3.0/bin

VOLUME ["/home/kontena"]
WORKDIR /home/kontena
USER kontena
ENTRYPOINT ["/usr/bin/kontena"]

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
kontena-cli-0.16.0.rc2 Dockerfile
kontena-cli-0.16.0.rc1 Dockerfile
kontena-cli-0.16.0.pre9 Dockerfile
kontena-cli-0.16.0.pre8 Dockerfile
kontena-cli-0.16.0.pre7 Dockerfile
kontena-cli-0.16.0.pre6 Dockerfile