day-ahead (latest)

Published 2025-04-07 18:34:54 +00:00 by Kurocon

Installation

docker pull git.kurocon.nl/kurocon/day-ahead:latest
sha256:da987ec341bc1cb52e1b74f4be828b6f0748486aea7f1b3631443ff1462ef7d0

Image Layers

ADD file:d261a6f6921593f1e0b3f472ab1b1822e2c6deb0b369200f0b3370556bfad017 in /
CMD ["bash"]
ARG BUILD_ARCH
ENV ENV_BUILD_ARCH=amd64
SHELL [/bin/bash -o pipefail -c]
|1 BUILD_ARCH=amd64 /bin/bash -o pipefail -c apt-get update -y
|1 BUILD_ARCH=amd64 /bin/bash -o pipefail -c apt-get upgrade -y
|1 BUILD_ARCH=amd64 /bin/bash -o pipefail -c apt-get install -y pkgconf nano file mariadb-client inotify-tools procps gunicorn libmariadb3 libmariadb-dev
|1 BUILD_ARCH=amd64 /bin/bash -o pipefail -c apt-get install -y postgresql-client sqlite3 gcc
|1 BUILD_ARCH=amd64 /bin/bash -o pipefail -c mkdir /root/dao
COPY file:136ad7dce53261b42214b9464e52ebaad38193a3de71acba60ded681bda46d31 in /root/dao
COPY dir:860c631320e742ca1c18c9cda55686f87ee340842639474732bb6ea90c64928b in /root/dao/prog/
COPY dir:ea7468f62070d8fe20f1be615742ce3eef929454e9982efa564d729712b3d573 in /root/dao/webserver/
COPY dir:8a86b470fe31300fc25e2e0ff217091500d30b3626b9bba379dcb6b41de680a7 in /tmp/daodata/
ARG BUILD_VERSION
ENV DAO_VERSION=2025.3.1
|2 BUILD_ARCH=amd64 BUILD_VERSION=2025.3.1 /bin/bash -o pipefail -c printf '__version__ ="%s"\n' "$DAO_VERSION" > /root/dao/prog/version.py
|2 BUILD_ARCH=amd64 BUILD_VERSION=2025.3.1 /bin/bash -o pipefail -c apt-get install -y wget libnauty2-dev coinor-libcgl-dev libcholmod3
COPY file:b4ec965e5c1da308498056a49f32a76769cb1ffb74c438cc1632ac9e8d44986b in /tmp/
WORKDIR /root/dao/prog
|2 BUILD_ARCH=amd64 BUILD_VERSION=2025.3.1 /bin/bash -o pipefail -c echo 'platform: "$ENV_BUILD_ARCH"' && export BUILD_ARCH="$ENV_BUILD_ARCH" && echo 'export BUILD_ARCH="$ENV_BUILD_ARCH"' >> ~/.bashrc && export PYTHONPATH="/root:/root/dao:/root/dao/prog" && echo 'export PYTHONPATH="/root:/root/dao:/root/dao/prog"' >> ~/.bashrc
|2 BUILD_ARCH=amd64 BUILD_VERSION=2025.3.1 /bin/bash -o pipefail -c if [ "${BUILD_ARCH}" = "aarch64" ]; then tar -xvf /tmp/miplib.tar.gz -C /root/dao/prog && export PMIP_CBC_LIBRARY="/root/dao/prog/miplib/lib/libCbc.so" && export LD_LIBRARY_PATH="/root/dao/prog/miplib/lib/" && echo 'export PMIP_CBC_LIBRARY="/root/dao/prog/miplib/lib/libCbc.so"' >> ~/.bashrc && echo 'export LD_LIBRARY_PATH="/root/dao/prog/miplib/lib/"' >> ~/.bashrc ; fi
|2 BUILD_ARCH=amd64 BUILD_VERSION=2025.3.1 /bin/bash -o pipefail -c apt-get install python3 -y python3-pip -y python3-venv -y
ENV VIRTUAL_ENV=/root/dao/venv/day_ahead
|2 BUILD_ARCH=amd64 BUILD_VERSION=2025.3.1 /bin/bash -o pipefail -c python3 -m venv $VIRTUAL_ENV
ENV PATH=/root/dao/venv/day_ahead/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
COPY file:17ba88ae873ad2f597309e193fcf15aa583ce51425073b89631d699bd922f909 in /tmp/
|2 BUILD_ARCH=amd64 BUILD_VERSION=2025.3.1 /bin/bash -o pipefail -c pip3 install uv
|2 BUILD_ARCH=amd64 BUILD_VERSION=2025.3.1 /bin/bash -o pipefail -c uv pip install -r /tmp/requirements.txt
COPY dir:c029b2532235fb6bbd993fc8f50c843a08748650df18296ad8ca9e88cca4fcc9 in /root/dao/prog/
EXPOSE 5000
WORKDIR /root/dao/prog
|2 BUILD_ARCH=amd64 BUILD_VERSION=2025.3.1 /bin/bash -o pipefail -c chmod a+x run.sh
ENTRYPOINT ["/bin/bash" "./run.sh"]
LABEL org.opencontainers.image.created=2025-04-07T18:32:54Z
LABEL org.opencontainers.image.revision=0771df587edc7d1241103fccb3bc86671fa958df
LABEL org.opencontainers.image.source=https://git.kurocon.nl/Kurocon/day-ahead.git
LABEL org.opencontainers.image.url=https://git.kurocon.nl/Kurocon/day-ahead

Labels

Key Value
org.opencontainers.image.created 2025-04-07T18:32:54Z
org.opencontainers.image.revision 0771df587edc7d1241103fccb3bc86671fa958df
org.opencontainers.image.source https://git.kurocon.nl/Kurocon/day-ahead.git
org.opencontainers.image.url https://git.kurocon.nl/Kurocon/day-ahead
Details
Container
2025-04-07 18:34:54 +00:00
3
OCI / Docker
linux/amd64
398 MiB
Versions (1) View all
latest 2025-04-07