diff --git a/Dockerfile b/Dockerfile index cd1e5b5..c90acc3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" \ @@ -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