ff
This commit is contained in:
parent
fc573929ef
commit
d52051529d
2 changed files with 45 additions and 8 deletions
11
Dockerfile
11
Dockerfile
|
@ -4,18 +4,12 @@ ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
|
COPY requirements.yaml .
|
||||||
# hadolint ignore=DL3008,DL3028
|
|
||||||
RUN apt-get update \
|
|
||||||
&& apt-get -y --no-install-recommends install wget \
|
|
||||||
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/* \
|
|
||||||
&& apt-get clean
|
|
||||||
|
|
||||||
RUN python3 -m pip install --upgrade pip \
|
RUN python3 -m pip install --upgrade pip \
|
||||||
&& python3 -m pip install --no-cache-dir -r requirements.txt
|
&& python3 -m pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
RUN wget -q https://git.mgrote.net/mg/homeserver/raw/branch/master/requirements.yaml \
|
RUN ansible-galaxy install -r requirements.yaml --force
|
||||||
&& ansible-galaxy install -r requirements.yaml --force
|
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get -y --no-install-recommends install \
|
&& apt-get -y --no-install-recommends install \
|
||||||
|
@ -27,6 +21,7 @@ RUN apt-get update \
|
||||||
mc \
|
mc \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
tree \
|
tree \
|
||||||
|
wget \
|
||||||
curl \
|
curl \
|
||||||
whois \
|
whois \
|
||||||
net-tools \
|
net-tools \
|
||||||
|
|
42
requirements.yaml
Normal file
42
requirements.yaml
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
collections:
|
||||||
|
- name: community.general
|
||||||
|
version: "9.2.0"
|
||||||
|
- name: community.crypto
|
||||||
|
version: "2.21.0"
|
||||||
|
- name: ansible.posix
|
||||||
|
version: "1.5.4"
|
||||||
|
- name: community.docker
|
||||||
|
version: "3.11.0"
|
||||||
|
- name: viczem.keepass
|
||||||
|
version: "0.7.5"
|
||||||
|
roles:
|
||||||
|
- name: ansible-role-bootstrap
|
||||||
|
src: git+https://git.mgrote.net/ansible-role-mirrors/ansible-role-bootstrap
|
||||||
|
version: "7.0.2"
|
||||||
|
- name: ansible-ufw
|
||||||
|
src: git+https://git.mgrote.net/ansible-role-mirrors/ansible-ufw
|
||||||
|
version: "v4.1.13"
|
||||||
|
- name: ansible-manage-lvm
|
||||||
|
src: git+https://git.mgrote.net/ansible-role-mirrors/ansible-manage-lvm
|
||||||
|
version: "v0.2.11"
|
||||||
|
- name: ansible-role-unattended-upgrades
|
||||||
|
src: git+https://git.mgrote.net/ansible-role-mirrors/ansible-role-unattended-upgrades
|
||||||
|
version: "v4.6.0"
|
||||||
|
- name: ansible-role-pip
|
||||||
|
src: git+https://git.mgrote.net/ansible-role-mirrors/ansible-role-pip
|
||||||
|
version: "3.0.3"
|
||||||
|
- name: ansible-role-nfs
|
||||||
|
src: git+https://git.mgrote.net/ansible-role-mirrors/ansible-role-nfs
|
||||||
|
version: "2.0.0"
|
||||||
|
- name: ansible-role-docker
|
||||||
|
src: git+https://git.mgrote.net/ansible-role-mirrors/ansible-role-docker
|
||||||
|
version: "7.1.0"
|
||||||
|
- name: ansible_role_ctop
|
||||||
|
src: git+https://git.mgrote.net/ansible-role-mirrors/ansible_role_ctop
|
||||||
|
version: "1.1.6"
|
||||||
|
- name: ansible_role_gitea
|
||||||
|
src: git+https://git.mgrote.net/ansible-role-mirrors/ansible_role_gitea
|
||||||
|
version: "v3.4.4"
|
||||||
|
- name: ansible-role-postgresql
|
||||||
|
src: git+https://git.mgrote.net/ansible-role-mirrors/ansible-role-postgresql
|
||||||
|
version: "3.5.2"
|
Loading…
Reference in a new issue