ansible-devspace/Dockerfile
Michael Grote 7a34e672b8
Some checks failed
lint, build and push / lint (push) Failing after 4s
lint, build and push / build (push) Failing after 35s
debug: ...
2024-12-30 21:02:42 +01:00

19 lines
602 B
Docker

FROM python:3.13.1-bookworm
# lese secrets von pipeline ein
RUN --mount=type=secret,id=GITUSERPW,env=GITUSERPW \
--mount=type=secret,id=GITUSER,env=GITUSER
# keine Nachfragen bei apt
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /home/ansible-dev/
RUN echo https://$GITUSER:$GITUSERPW@git.mgrote.net/mg/dotfiles ~/dotfiles
# dotfiles, see: https://git.mgrote.net/mg/dotfiles/raw/branch/master/scripts/setup_minimal.sh
# hadolint ignore=DL3001,SC1083
RUN git clone https://$GITUSER:$GITUSERPW@git.mgrote.net/mg/dotfiles ~/dotfiles
COPY --chown=ansible-dev:ansible-dev start_tmux.sh .
ENTRYPOINT []