Skip to content
Snippets Groups Projects
Select Git revision
  • cdc25523bf7b971bc554b679fc88f9b0f13a0abe
  • master default protected
  • v2.28.0
  • v2.27.0
  • v2.25.1
  • v2.24.3
  • v2.26.0
  • v2.24.2
  • v2.25.0
  • v2.24.1
  • v2.22.2
  • v2.23.3
  • v2.24.0
  • v2.23.2
  • v2.23.1
  • v2.23.0
  • v2.22.1
  • v2.22.0
  • v2.21.0
  • v2.20.0
  • v2.19.1
  • v2.18.2
22 results

flannel.md

Blame
  • Dockerfile 1.03 KiB
    FROM registry.cyberbrain.pw/docker/alpine:latest AS builder
    ENV PATH="/opt/ansible/bin:$PATH"
    RUN apk --no-cache add python3 && \
        apk --no-cache add --virtual build-dependencies \
            py3-pip \
            musl-dev \
            python3-dev \
            libffi-dev \
            openssl-dev \
            cargo \
            && \
        python3 -m venv /opt/ansible && \
        pip3 install --ignore-installed --no-cache-dir --upgrade \
            pip \
            setuptools \
            wheel \
            && \
        pip3 install --ignore-installed --no-cache-dir \
            ansible \
            ansible-lint \
            mitogen \
            jmespath \
            pywinrm \
            && \
        apk del build-dependencies && \
        rm -rf /var/cache/apk/*
    
    FROM registry.cyberbrain.pw/docker/alpine:latest AS runtime
    ENV PATH="/opt/ansible/bin:$PATH"
    WORKDIR /srv/ansible
    RUN apk --no-cache add \
            python3 \
            openssl \
            ca-certificates \
            sshpass \
            openssh-client \
            rsync \
            git \
    COPY --from=builder /opt/ansible /opt/ansible
    CMD [ "ansible", "--version" ]