Skip to content

Commit

Permalink
updated Dockerfile base
Browse files Browse the repository at this point in the history
  • Loading branch information
janpreet committed Aug 8, 2024
1 parent 485df0c commit 2152ee4
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
FROM alpine:3.18
FROM debian:bullseye-slim

ARG TERRAFORM_VERSION=1.9.3
ARG ANSIBLE_VERSION=10.2.0

RUN apk add --no-cache \
RUN apt-get update && apt-get install -y \
bash \
curl \
python3 \
py3-pip \
aws-cli \
gnupg \
libsecret \
make \
gcc \
musl-dev \
git \
python3-pip \
awscli \
&& pip3 install --no-cache-dir --upgrade pip

RUN curl -LO "https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip" \
Expand All @@ -27,11 +21,11 @@ RUN curl -L -o /usr/local/bin/opa https://openpolicyagent.org/downloads/latest/o

RUN pip3 install --no-cache-dir ansible==${ANSIBLE_VERSION}

RUN git clone https://github.com/keybase/client.git /keybase \
&& cd /keybase \
&& make build \
&& cp /keybase/go/bin/keybase /usr/local/bin/ \
&& rm -rf /keybase
RUN curl -s https://keybase.io/docs/server_security/code_signing_key.asc | gpg --import \
&& curl -O https://prerelease.keybase.io/keybase_amd64.deb \
&& dpkg -i keybase_amd64.deb \
&& apt-get install -f \
&& rm keybase_amd64.deb

COPY kado /usr/local/bin/kado

Expand Down

0 comments on commit 2152ee4

Please sign in to comment.