forked from rh-nfv-int/testpmd-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
26 lines (20 loc) · 793 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM quay.io/operator-framework/ansible-operator:v1.5.0
MAINTAINER [email protected]
LABEL name="NFV Example CNF Application Opertor" \
maintainer="[email protected]" \
vendor="fredco" \
version="v0.2.3" \
release="v0.2.3" \
summary="An example CNF for platform valiation" \
description="An example CNF for platform valiation"
COPY licenses /licenses
USER root
RUN yum -y update-minimal --setopt=tsflags=nodocs \
--security --sec-severity=Important --sec-severity=Critical
USER ansible
COPY requirements.yml ${HOME}/requirements.yml
RUN ansible-galaxy collection install -r ${HOME}/requirements.yml \
&& chmod -R ug+rwx ${HOME}/.ansible
COPY watches.yaml ${HOME}/watches.yaml
COPY roles/ ${HOME}/roles/
COPY playbooks/ ${HOME}/playbooks/