Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.5
FROM alpine:3.24.2

Check warning on line 1 in Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

The "alpine" image runs with "root" as the default user. Make sure it is safe here.

See more on https://sonarcloud.io/project/issues?id=Nikas-Project_Server&issues=AaCxxHOIzZY4JqY3f595&open=AaCxxHOIzZY4JqY3f595&pullRequest=327

ARG DATE_CREATED
ARG VERSION
Expand All @@ -13,21 +13,21 @@
LABEL org.opencontainers.image.source="https://github.com/Nikas-Project/Server"

RUN apk upgrade --no-cache \
&& apk add --no-cache -t build-dependencies \
gcc \
g++ \
python3-dev \
libffi-dev \
build-base \

Check warning on line 21 in Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Sort these package names alphanumerically.

See more on https://sonarcloud.io/project/issues?id=Nikas-Project_Server&issues=AaCxxHOIzZY4JqY3f596&open=AaCxxHOIzZY4JqY3f596&pullRequest=327
&& apk add --no-cache \
musl-dev \
python3 \
py3-pip \
sqlite \
openssl \
openssl-dev \
ca-certificates \

Check warning on line 29 in Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Sort these package names alphanumerically.

See more on https://sonarcloud.io/project/issues?id=Nikas-Project_Server&issues=AaCxxHOIzZY4JqY3f597&open=AaCxxHOIzZY4JqY3f597&pullRequest=327
&& pip3 install --upgrade --no-cache --no-cache-dir --ignore-installed pip wheel \

Check warning on line 30 in Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Omitting "--only-binary :all:" can lead to the execution of setup scripts. Make sure it is safe here.

See more on https://sonarcloud.io/project/issues?id=Nikas-Project_Server&issues=AaCxxHOIzZY4JqY3f598&open=AaCxxHOIzZY4JqY3f598&pullRequest=327

Check warning on line 30 in Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=Nikas-Project_Server&issues=AaCxxHOIzZY4JqY3f599&open=AaCxxHOIzZY4JqY3f599&pullRequest=327
&& pip3 install --no-cache --no-cache-dir --ignore-installed nikas==$VERSION \
&& apk del build-dependencies \
&& rm -rf /tmp/* /var/cache/apk/*
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.2
FROM alpine:3.24.2

Check warning on line 1 in Dockerfile.dev

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

The "alpine" image runs with "root" as the default user. Make sure it is safe here.

See more on https://sonarcloud.io/project/issues?id=Nikas-Project_Server&issues=AaCxxHJ9zZY4JqY3f59y&open=AaCxxHJ9zZY4JqY3f59y&pullRequest=327

ARG DATE_CREATED
ARG VERSION
Expand All @@ -15,22 +15,22 @@
COPY requirements.txt /tmp/requirements.txt

RUN apk upgrade --no-cache \
&& apk add --no-cache -t build-dependencies \
gcc \
g++ \
python3-dev \
libffi-dev \
build-base \

Check warning on line 23 in Dockerfile.dev

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Sort these package names alphanumerically.

See more on https://sonarcloud.io/project/issues?id=Nikas-Project_Server&issues=AaCxxHJ9zZY4JqY3f59z&open=AaCxxHJ9zZY4JqY3f59z&pullRequest=327
&& apk add --no-cache \
musl-dev \
python3 \
py3-pip \
sqlite \
openssl \
openssl-dev \
ca-certificates \

Check warning on line 31 in Dockerfile.dev

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Sort these package names alphanumerically.

See more on https://sonarcloud.io/project/issues?id=Nikas-Project_Server&issues=AaCxxHJ9zZY4JqY3f590&open=AaCxxHJ9zZY4JqY3f590&pullRequest=327
&& pip3 install --upgrade --no-cache --no-cache-dir --ignore-installed pip wheel \

Check warning on line 32 in Dockerfile.dev

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Omitting "--only-binary :all:" can lead to the execution of setup scripts. Make sure it is safe here.

See more on https://sonarcloud.io/project/issues?id=Nikas-Project_Server&issues=AaCxxHJ9zZY4JqY3f591&open=AaCxxHJ9zZY4JqY3f591&pullRequest=327

Check warning on line 32 in Dockerfile.dev

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=Nikas-Project_Server&issues=AaCxxHJ9zZY4JqY3f592&open=AaCxxHJ9zZY4JqY3f592&pullRequest=327
&& pip3 install --no-cache --no-cache-dir -r /tmp/requirements.txt \

Check warning on line 33 in Dockerfile.dev

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=Nikas-Project_Server&issues=AaCxxHJ9zZY4JqY3f594&open=AaCxxHJ9zZY4JqY3f594&pullRequest=327

Check warning on line 33 in Dockerfile.dev

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Omitting "--only-binary :all:" can lead to the execution of setup scripts. Make sure it is safe here.

See more on https://sonarcloud.io/project/issues?id=Nikas-Project_Server&issues=AaCxxHJ9zZY4JqY3f593&open=AaCxxHJ9zZY4JqY3f593&pullRequest=327
&& pip3 install --no-cache --no-cache-dir --ignore-installed --index-url https://test.pypi.org/simple/ --extra-index-url=https://pypi.org/simple/ nikas==$VERSION \
&& apk del build-dependencies \
&& rm -rf /tmp/* /var/cache/apk/*
Expand Down
Loading