19 lines
602 B
Docker
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 []
|