From 3354f4622b78e02c0cef8d584bc6538b2f1d7cfb Mon Sep 17 00:00:00 2001 From: Erik Osterman Date: Thu, 26 Apr 2018 14:20:30 -0700 Subject: [PATCH] Add packages distro (#126) * Add kubectx kubens * bump packages release --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Dockerfile b/Dockerfile index 63e768cd0..ef7074941 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,6 +31,19 @@ RUN echo "net.ipv6.conf.all.disable_ipv6=0" > /etc/sysctl.d/00-ipv6.conf RUN echo 'set noswapfile' >> /etc/vim/vimrc WORKDIR /tmp +# +# Install the simple cloudposse package manager +# +ARG PACKAGES_VERSION=0.1.4 +ENV PACKAGES_VERSION ${PACKAGES_VERSION} +RUN git clone --depth=1 -b ${PACKAGES_VERSION} https://github.com/cloudposse/packages.git /packages && rm -rf /packages/.git + +# +# Install packges using the package manager +# +ARG PACKAGES="fetch kubectx kubens" +ENV PACKAGES ${PACKAGES} +RUN make -C /packages/install ${PACKAGES} # # Install aws-vault to easily assume roles (not related to HashiCorp Vault)