Files
loci/Dockerfile
Michael Polenchuk 8488ce67a1 Set default locale
Neutron tempest plugin (common/ssh.py) gets locale for
execute scripts on remote machines, so set it to default
value to avoid an empty one.

Closes-Bug: PRODX-5583
Change-Id: If1b558c1fe85137716c0836b7049274affeef2c4
2024-10-23 06:23:55 +00:00

42 lines
1.1 KiB
Docker

ARG FROM=ubuntu:jammy
FROM ${FROM}
ENV PATH=/var/lib/openstack/bin:$PATH
ENV LANG=C.UTF-8
ARG PROJECT
ARG WHEELS=loci/requirements:master-ubuntu_jammy
ARG PROJECT_REPO=https://opendev.org/openstack/${PROJECT}
ARG PROJECT_REF=master
ARG PROJECT_RELEASE=master
ARG EXTRA_PROJECTS=""
ARG DISTRO=""
ARG PROFILES=""
ARG PIP_PACKAGES=""
ARG PIP_ARGS=""
ARG PIP_WHEEL_ARGS=$PIP_ARGS
ARG DIST_PACKAGES=""
ARG PLUGIN=no
ARG EXTRA_BINDEP=""
ARG EXTRA_PYDEP=""
ARG REGISTRY_PROTOCOL="detect"
ARG REGISTRY_INSECURE="False"
ARG KEEP_ALL_WHEELS="False"
# NOTE: This option is only applicable to apt/dpkg systems. The value is noop
# for rpm based systems. This will not show up in the final image regardless.
ARG DEBIAN_FRONTEND=noninteractive
ARG UID=42424
ARG GID=42424
ARG NOVNC_REPO=${NOVNC_REPO:-https://github.com/novnc/novnc}
ARG NOVNC_REF=${NOVNC_REF:-v1.0.0}
ARG SPICE_REPO=${SPICE_REPO:-https://gitlab.freedesktop.org/spice/spice-html5.git}
ARG SPICE_REF=${SPICE_REF:-spice-html5-0.1.6}
ADD data /tmp/
COPY scripts /opt/loci/scripts
ADD bindep.txt pydep.txt $EXTRA_BINDEP $EXTRA_PYDEP /opt/loci/
RUN /opt/loci/scripts/install.sh