openstack-helm-images/gate-utils/Dockerfile.ubuntu_focal
Vladimir Kozhukalov 48b2fac501 Fix gate-utils image build job
- Use ubuntu:focal as a base image
- Do not build the gate-utils image weekly.
  The only place we use this image is in the
  kube-node-subnet.sh script where we use the
  image published a while ago.
  And the only package we install into this image
  is ipcalc.

Change-Id: I06dfaef2e429f690b8ca7583933fa85eabcbfea8
2023-06-30 02:16:28 +03:00

13 lines
277 B
Docker

ARG FROM=ubuntu:focal
FROM ${FROM}
RUN apt-get update \
&& apt-get install -y --no-install-recommends ipcalc \
&& apt-get clean -y \
&& rm -rf \
/var/cache/debconf/* \
/var/lib/apt/lists/* \
/var/log/* \
/tmp/* \
/var/tmp/*