File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ docker-compose.yml
2
+ podman-compose-sonarqube.yaml
3
+
1
4
node_modules
2
5
docs /
3
6
.vscode
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ LABEL maintainer="Mihai Criveti" \
6
6
ARG PYTHON_VERSION=3.11
7
7
8
8
# Install Python and build dependencies
9
+ # hadolint ignore=DL3041
9
10
RUN microdnf update -y && \
10
11
microdnf install -y python${PYTHON_VERSION} python${PYTHON_VERSION}-devel gcc git && \
11
12
microdnf clean all
@@ -21,7 +22,7 @@ COPY . /app
21
22
# Create virtual environment, upgrade pip and install dependencies using uv for speed
22
23
RUN python3 -m venv /app/.venv && \
23
24
/app/.venv/bin/python3 -m pip install --upgrade pip setuptools pdm uv && \
24
- /app/.venv/bin/python3 -m uv pip install .[redis,postgres]
25
+ /app/.venv/bin/python3 -m uv pip install " .[redis,postgres]"
25
26
26
27
# update the user permissions
27
28
RUN chown -R 1001:0 /app && \
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ FROM registry.access.redhat.com/ubi9/ubi-micro:9.6-1747318857 AS base
30
30
# Builder stage
31
31
###########################
32
32
FROM registry.access.redhat.com/ubi9/ubi:9.6-1747219013 AS builder
33
+ SHELL ["/bin/bash", "-c"]
33
34
34
35
ARG PYTHON_VERSION
35
36
ARG ROOTFS_PATH
@@ -63,7 +64,7 @@ COPY . /app
63
64
RUN set -euo pipefail \
64
65
&& python3 -m venv /app/.venv \
65
66
&& /app/.venv/bin/pip install --no-cache-dir --upgrade pip setuptools wheel pdm uv \
66
- && /app/.venv/bin/uv pip install .[redis,postgres] \
67
+ && /app/.venv/bin/uv pip install " .[redis,postgres]" \
67
68
&& rm -rf /root/.cache /var/cache/dnf
68
69
69
70
# ----------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments