Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12241523
Dockerfile
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
Dockerfile
View Options
# -------------------------------------------------------------
# Nasqueron Reports :: Docker image
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: BSD-2-Clause
# -------------------------------------------------------------
# -------------------------------------------------------------
# Build Python package
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM debian:trixie AS build
COPY . /app
WORKDIR /app
RUN apt-get update && apt install -y python3-pip python3-build git && \
git clone https://devcentral.nasqueron.org/source/reports.git /usr/src/reports && \
python3 -m build
# -------------------------------------------------------------
# Final image
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM debian:trixie AS runner
COPY --from=build /app/dist/nasqueron_reports-0.1.0-py3-none-any.whl /app/
COPY --from=build /usr/src/reports/sql /usr/share/nasqueron-reports/sql
COPY conf/reports.yaml /etc/reports.yaml
RUN apt-get update && \
apt install -y python3-pip locales --no-install-recommends && \
rm -r /var/lib/apt/lists/* && \
sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
echo 'LANG="en_US.UTF-8"' > /etc/default/locale && \
dpkg-reconfigure --frontend=noninteractive locales && \
update-locale LANG=en_US.UTF-8 && \
pip install /app/nasqueron_reports-0.1.0-py3-none-any.whl --break-system-packages
WORKDIR /app
ENV LANG=en_US.UTF-8
CMD ["run-report"]
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 12, 05:23 (1 d, 8 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f8/63/a4da976a87f4c4fb1c8a318ae7f7
Default Alt Text
Dockerfile (1 KB)
Attached To
Mode
rRPRT Nasqueron internal reports
Attached
Detach File
Event Timeline
Log In to Comment