8 Commits
v1.0.4 ... main

Author SHA1 Message Date
300ef37e06 fix: Revert to dnf from microdnf for package management consistency
All checks were successful
CI / build (push) Successful in 10s
CI / release (release) Successful in 11m9s
2025-12-04 15:10:14 +13:00
3cc0cd2955 fix: Escape percentage signs in CMD for proper log formatting
Some checks failed
CI / build (push) Successful in 11s
CI / release (release) Failing after 52s
2025-12-04 15:07:35 +13:00
9dec26252a fix: Replace dnf with microdnf for package management consistency 🐛
Some checks failed
CI / build (push) Successful in 10s
CI / release (release) Failing after 46s
2025-12-04 15:02:37 +13:00
acfae94e00 fix: Update base image to almalinux:9-minimal for improved stability
Some checks failed
CI / build (push) Successful in 10s
CI / release (release) Failing after 31s
2025-12-04 14:41:59 +13:00
7172bbf4e0 fix: Escape quotes in CMD for proper execution 🐛
All checks were successful
CI / build (push) Successful in 14s
CI / release (release) Successful in 11m31s
2025-12-04 14:41:12 +13:00
9511f003d1 fix: Update base image and adjust ara installation dependencies 🐛
All checks were successful
CI / build (push) Successful in 33s
CI / release (release) Successful in 8m36s
2025-12-04 14:09:13 +13:00
66a7f6d86b fix: Listen on ipv6 address 🐛
All checks were successful
CI / build (push) Successful in 1m49s
CI / release (release) Successful in 12m44s
2025-02-18 21:58:53 +13:00
7a1184375d fix: CRB was not enabled
All checks were successful
CI / build (push) Successful in 13s
CI / release (release) Successful in 11m33s
2025-02-15 07:31:05 +13:00

View File

@@ -1,7 +1,8 @@
FROM almalinux:9.5
FROM almalinux:9
ARG DEV_DEPENDENCIES="gcc python3-devel postgresql-devel mariadb-devel"
RUN dnf install -y epel-release \
&& crb enable \
&& dnf update -y \
&& dnf install -y which \
python3-pip \
@@ -14,7 +15,7 @@ RUN dnf install -y ${DEV_DEPENDENCIES}
# Install ara from PyPI with API server extras for dependencies (django & django-rest-framework)
# including database backend libraries and gunicorn
RUN python3 -m pip install "ara[server,postgresql,mysql]" gunicorn
RUN python3 -m pip install "ara[server,mysql]" gunicorn
# Remove development dependencies and clean up
RUN dnf remove -y ${DEV_DEPENDENCIES} \
@@ -24,5 +25,5 @@ RUN dnf remove -y ${DEV_DEPENDENCIES} \
# Set up the container to execute SQL migrations and run the API server with gunicorn
ENV ARA_BASE_DIR=/opt/ara
CMD ["bash", "-c", "/usr/local/bin/ara-manage migrate && python3 -m gunicorn --workers=4 --access-logfile - --bind 0.0.0.0:8000 ara.server.wsgi" ]
CMD ["/bin/bash", "-c", "/usr/local/bin/ara-manage migrate && python3 -m gunicorn --workers=4 --access-logfile - --bind [::]:8000 --access-logformat '%%({x-forwarded-for}i)s %%l %%u %%t \"%%r\" %%s %%b \"%%f\" \"%%a\"' ara.server.wsgi"]
EXPOSE 8000