This commit is contained in:
2024-10-08 08:45:19 +02:00
parent e0f124661d
commit c8549b6142
18 changed files with 135 additions and 21 deletions

View File

@@ -1,6 +1,9 @@
FROM fedora
WORKDIR /app
RUN yum update -y && yum install -y \
RUN dnf update -y && dnf install -y \
ansible
COPY . /app
RUN ansible-playbook /app/playbooks/image.yml
RUN useradd -m -s /bin/bash -d /home/alice alice
COPY . /opt/setup
RUN ansible-playbook /opt/setup/playbooks/image.yml
RUN mkdir /workspace && chown alice:alice /workspace
USER dev
WORKDIR /workspace