-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathDockerfile
19 lines (14 loc) · 1017 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM --platform=linux/amd64 fedora:37
RUN dnf makecache && dnf install -y bind-utils openssl openssh-clients wget python3-pip git bash-completion python3-jmespath ansible --setopt=install_weak_deps=False && \
dnf clean all && rm -rf /var/cache/yum
RUN curl -OL https://raw.githubusercontent.com/tosin2013/openshift-4-deployment-notes/master/pre-steps/configure-openshift-packages.sh && \
chmod +x configure-openshift-packages.sh && \
bash -x ./configure-openshift-packages.sh --install
RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
RUN git clone https://github.com/ansible-collections/kubernetes.core.git && \
mkdir -p /root/.ansible/plugins/modules && \
cp kubernetes.core/plugins/action/k8s.py /root/.ansible/plugins/modules/
RUN mkdir /opt/workspace && git config --global user.email "[email protected]" && git config --global user.name "Quarkus"
COPY . /opt/workspace
COPY files/env.variables /root/
CMD [ "/opt/workspace/files/quickstart.sh"]