Fixed stuff

This commit is contained in:
2024-11-24 21:44:23 +01:00
parent 5d97973d54
commit f5b3e51671
4 changed files with 16 additions and 14 deletions

View File

@@ -4,16 +4,14 @@ FROM public.ecr.aws/docker/library/node:22-alpine3.20
ENV PATH=/root/.local/bin:$PATH
# Install git for gitea actions and ansible
RUN <<EOF
set -e
apk add --no-cache bash curl python3 pipx git rsync unzip openssh
pipx install --include-deps ansible
EOF
RUN apk add --no-cache bash curl python3 pipx git rsync unzip openssh
RUN pipx install --include-deps ansible
ENV PY_COLOR="1"
ENV ANSIBLE_FORCE_COLOR="1"
WORKDIR /usr/src
COPY entrypoint.sh .
RUN chmod +x /usr/src/entrypoint.sh
ENTRYPOINT ["ash","-c","/usr/src/entrypoint.sh"]