2024-12-05 01:06:00 +01:00
|
|
|
FROM python:3.13.1-bookworm
|
2024-07-09 22:35:14 +02:00
|
|
|
|
2024-12-30 20:45:56 +01:00
|
|
|
# lese secrets von pipeline ein
|
2024-12-30 20:53:11 +01:00
|
|
|
RUN --mount=type=secret,id=GITUSERPW,env=GITUSERPW \
|
|
|
|
--mount=type=secret,id=GITUSER,env=GITUSER
|
2024-12-30 20:45:56 +01:00
|
|
|
|
2024-12-30 20:53:11 +01:00
|
|
|
# keine Nachfragen bei apt
|
2024-07-09 22:35:14 +02:00
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
2024-12-30 20:53:11 +01:00
|
|
|
|
2024-07-30 11:11:07 +02:00
|
|
|
WORKDIR /home/ansible-dev/
|
2024-07-30 10:34:53 +02:00
|
|
|
|
2024-12-30 20:45:56 +01:00
|
|
|
RUN echo https://$GITUSER:$GITUSERPW@git.mgrote.net/mg/dotfiles ~/dotfiles
|
2024-12-30 20:25:10 +01:00
|
|
|
|
2024-07-25 23:17:16 +02:00
|
|
|
# dotfiles, see: https://git.mgrote.net/mg/dotfiles/raw/branch/master/scripts/setup_minimal.sh
|
2024-12-30 20:13:43 +01:00
|
|
|
# hadolint ignore=DL3001,SC1083
|
2024-12-30 20:45:56 +01:00
|
|
|
RUN git clone https://$GITUSER:$GITUSERPW@git.mgrote.net/mg/dotfiles ~/dotfiles
|
2024-07-29 15:59:43 +02:00
|
|
|
|
2024-07-30 20:30:11 +02:00
|
|
|
COPY --chown=ansible-dev:ansible-dev start_tmux.sh .
|
2024-09-13 18:52:01 +02:00
|
|
|
ENTRYPOINT []
|