Use In-House dind Image
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
parent
bbabd63a7b
commit
5327a413c2
@ -1,15 +1,7 @@
|
|||||||
FROM {{ base_image_name }}:{{ version }}
|
FROM {{ base_image_name }}:{{ version }}
|
||||||
|
|
||||||
# TODO REM add comment.
|
# Install ansible using dnf. We originally were going to have a flag for whether
|
||||||
RUN \
|
# to use dnf or pip to install ansible however it looks like dnf installs all
|
||||||
dnf install -y nfs-utils && \
|
# the python libs in the same location that pip would, therefore there doesn't
|
||||||
mkdir -p /var/cache/dnf && \
|
# seem to be a meaningful difference between the 2 install options.
|
||||||
mount \
|
RUN dnf install -y ansible
|
||||||
-t nfs \
|
|
||||||
-o nolock \
|
|
||||||
192.168.1.204:/pool1/package-caches/dnf \
|
|
||||||
/var/cache/dnf && \
|
|
||||||
echo "keepcache=1" >> /etc/dnf/dnf.conf && \
|
|
||||||
dnf install -y ansible && \
|
|
||||||
echo yay
|
|
||||||
# dnf clean all
|
|
||||||
|
|||||||
Loading…
Reference in New Issue