feat: receptor #141
16
dockerfile
16
dockerfile
@ -1,5 +1,9 @@
|
||||
ARG TARGETPLATFORM=linux/amd64
|
||||
|
||||
|
||||
FROM --platform=$TARGETPLATFORM quay.io/ansible/receptor:devel as receptor
|
||||
|
||||
|
||||
FROM --platform=$TARGETPLATFORM python:3.11-bullseye
|
||||
|
||||
# Ansible chucks a wobbler without. see: https://github.com/ansible/ansible/issues/78283
|
||||
@ -71,20 +75,22 @@ WORKDIR /workdir
|
||||
|
||||
COPY requirements.txt /tmp/requirements.txt
|
||||
|
||||
COPY --from=receptor /usr/bin/receptor /usr/bin/receptor
|
||||
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install --upgrade pip; \
|
||||
mkdir -p /var/run/receptor
|
||||
|
||||
RUN pip install --index-url https://gitlab.com/api/v4/projects/45741845/packages/pypi/simple -r /tmp/requirements.txt
|
||||
|
||||
|
||||
RUN ansible-galaxy collection install \
|
||||
awx.awx \
|
||||
# ansible.posix.authorized_key for SSH
|
||||
ansible.posix \
|
||||
awx.awx \
|
||||
# community.general.gitlab_*
|
||||
community.general \
|
||||
community.dns \
|
||||
# docker managment
|
||||
community.docker \
|
||||
# community.general.gitlab_*
|
||||
community.general \
|
||||
community.mysql \
|
||||
community.postgresql \
|
||||
kubernetes.core
|
@ -8,3 +8,5 @@ python_gitlab==3.14.0
|
||||
psycopg2==2.9.9
|
||||
# community.mysql
|
||||
PyMySQL==1.1.0
|
||||
|
||||
dnspython
|
Reference in New Issue
Block a user