File Dockerfile of Package qesap-something

# syntax=docker/dockerfile:experimental

# Defines the tag for OBS and build script builds:
#!BuildTag: the_image_this_version

FROM opensuse/tumbleweed


## AZURE
# way suggested on https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=zypper
RUN zypper --non-interactive lr && \
    zypper --verbose --non-interactive --gpg-auto-import-keys  ref && \
    zypper --non-interactive up -y && \
    zypper --non-interactive install -y tar gzip unzip curl python312 python312-pip openssh \
    # Work around https://github.com/openSUSE/obs-build/issues/487
    openSUSE-release-appliance-docker && \
    # newer version of terraform available is lower than 1.5.7
    # google-cloud-sdk that provide gcloud is not installable as it has python as requirement
    # TDB aws-cli
    zypper --non-interactive install -y -f terraform opentofu=1.10.6 azure-cli=2.77.0 && \
    zypper --non-interactive clean --all

WORKDIR /root

ENV VIRTUAL_ENV=/opt/venv
RUN python3.12 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
#COPY requirements.txt .
#COPY requirements.yml .
#RUN pip install --upgrade pip && \
#    pip install -r requirements.txt && \
#    ansible-galaxy install -r requirements.yml

RUN mkdir /src
WORKDIR /src

#USER wwwrun

# Put additional files into container
#ADD . README.MY_APPLIANCE
#COPY MY.FILE /opt/my_space

openSUSE Build Service is sponsored by