ansible-devspace/Dockerfile
Michael Grote db1d0cfb25
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
fix linter error
2024-07-25 23:13:04 +02:00

41 lines
892 B
Docker

FROM python:3.12.4-bookworm
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /
COPY requirements.txt .
COPY requirements.yaml .
# hadolint ignore=DL3013
RUN python3 -m pip install --no-cache-dir --upgrade pip \
&& python3 -m pip install --no-cache-dir -r requirements.txt
RUN ansible-galaxy install -r requirements.yaml --roles-path=/ansible/roles
RUN wget --quiet https://git.mgrote.net/mg/dotfiles/raw/branch/master/scripts/setup_minimal.sh && bash ./setup_minimal.sh
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get -y --no-install-recommends install \
vim \
tmux \
htop \
git \
dnsutils \
mc \
ca-certificates \
tree \
wget \
curl \
whois \
net-tools \
apt-transport-https \
moreutils \
acl \
ripgrep \
pwgen \
keychain \
bc \
jq \
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/* requirements.txt requirements.yaml\
&& apt-get clean