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 }}
|
||||
|
||||
# TODO REM add comment.
|
||||
RUN \
|
||||
dnf install -y nfs-utils && \
|
||||
mkdir -p /var/cache/dnf && \
|
||||
mount \
|
||||
-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
|
||||
# Install ansible using dnf. We originally were going to have a flag for whether
|
||||
# to use dnf or pip to install ansible however it looks like dnf installs all
|
||||
# the python libs in the same location that pip would, therefore there doesn't
|
||||
# seem to be a meaningful difference between the 2 install options.
|
||||
RUN dnf install -y ansible
|
||||
|
||||
Loading…
Reference in New Issue