Skip to content

Commit 77af55a

Browse files
daniilyar-deepchecksDovnarAlexanderJKL98ISR
authored
fix(LLM-6233): Docker CIS compliance rules 4.4 & 4.7 (#397)
* Ensure images are scanned and rebuilt to include security patches * [fixed license versions (added comments & excludes)](226f89f) --------- Co-authored-by: DovnarAlexander <[email protected]> Co-authored-by: Jonathan Liberman <[email protected]>
1 parent c71ab1b commit 77af55a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# along with Deepchecks. If not, see <http://www.gnu.org/licenses/>.
99
# ----------------------------------------------------------------------------
1010

11-
FROM --platform=$BUILDPLATFORM node:16.15-alpine3.14 AS frontend
11+
FROM --platform=$BUILDPLATFORM node:20.10-alpine3.19 AS frontend
1212

1313
WORKDIR /code
1414

@@ -31,9 +31,7 @@ ENV TZ=Asia/Jerusalem
3131
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
3232

3333
RUN echo "Updated on 2 Apr 2024" # Change to force apt to update the cache
34-
RUN apt-get -y update && apt-get -y upgrade
35-
36-
RUN apt-get install -y software-properties-common && add-apt-repository ppa:deadsnakes/ppa && \
34+
RUN set -x && apt-get -qqy update && apt-get install -y software-properties-common && add-apt-repository ppa:deadsnakes/ppa && \
3735
apt install -y git python3.11 python3.11-dev python3.11-distutils curl g++ libpq-dev && \
3836
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11
3937

0 commit comments

Comments
 (0)