Skip to content
Merged
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
7 changes: 5 additions & 2 deletions packages/cubejs-docker/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@

RUN DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
# python3 package is necessary to install `python3` executable for node-gyp
&& apt-get install -y --no-install-recommends libssl3t64 curl \
cmake python3 python3.13 libpython3.13-dev gcc g++ make cmake openjdk-21-jdk-headless \
cmake python3.13 libpython3.13-dev gcc g++ make cmake openjdk-21-jdk-headless \
&& update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 1 \
&& update-alternatives --install /usr/bin/python python /usr/bin/python3.13 1 \
&& rm -rf /var/lib/apt/lists/*

ENV RUSTUP_HOME=/usr/local/rustup
Expand Down Expand Up @@ -172,6 +173,8 @@
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y ca-certificates python3.13 libpython3.13-dev \
&& update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 1 \
&& update-alternatives --install /usr/bin/python python /usr/bin/python3.13 1 \
&& apt-get clean

COPY --from=build /cubejs .
Expand All @@ -180,7 +183,7 @@
COPY packages/cubejs-docker/bin/cubejs-dev /usr/local/bin/cubejs

# By default Node dont search in parent directory from /cube/conf, @todo Reaserch a little bit more
ENV NODE_PATH /cube/conf/node_modules:/cube/node_modules

Check warning on line 186 in packages/cubejs-docker/dev.Dockerfile

View workflow job for this annotation

GitHub Actions / Build & Test :dev for Debian without pushing

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV PYTHONUNBUFFERED=1
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
Expand Down
7 changes: 5 additions & 2 deletions packages/cubejs-docker/latest-debian-jdk.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ RUN yarn config set network-timeout 120000 -g

# Required for node-oracledb to buld on ARM64
RUN apt-get update \
# python3 package is necessary to install `python3` executable for node-gyp
# libpython3-dev is needed to trigger post-installer to download native with python
&& apt-get install -y python3 python3.13 libpython3.13-dev gcc g++ make cmake openjdk-21-jdk-headless \
&& apt-get install -y python3.13 libpython3.13-dev gcc g++ make cmake openjdk-21-jdk-headless \
&& update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 1 \
&& update-alternatives --install /usr/bin/python python /usr/bin/python3.13 1 \
&& rm -rf /var/lib/apt/lists/*

# We are copying root yarn.lock file to the context folder during the Publish GH
Expand All @@ -33,6 +34,8 @@ RUN groupadd cube && useradd -ms /bin/bash -g cube cube \
&& DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
&& apt-get install -y --no-install-recommends libssl3t64 openjdk-21-jre-headless python3.13 libpython3.13-dev \
&& update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 1 \
&& update-alternatives --install /usr/bin/python python /usr/bin/python3.13 1 \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir cube \
&& chown -R cube:cube /tmp /cube /usr
Expand Down
7 changes: 5 additions & 2 deletions packages/cubejs-docker/latest.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ RUN yarn config set network-timeout 120000 -g

# Required for node-oracledb to buld on ARM64
RUN apt-get update \
# python3 package is necessary to install `python3` executable for node-gyp
# libpython3-dev is needed to trigger post-installer to download native with python
&& apt-get install -y python3 python3.13 libpython3.13-dev gcc g++ make cmake ca-certificates \
&& apt-get install -y python3.13 libpython3.13-dev gcc g++ make cmake ca-certificates \
&& update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 1 \
&& update-alternatives --install /usr/bin/python python /usr/bin/python3.13 1 \
&& rm -rf /var/lib/apt/lists/*

# We are copying root yarn.lock file to the context folder during the Publish GH
Expand All @@ -31,6 +32,8 @@ ENV CUBEJS_DOCKER_IMAGE_TAG=latest
RUN DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
&& apt-get install -y --no-install-recommends libssl3t64 python3.13 libpython3.13-dev \
&& update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 1 \
&& update-alternatives --install /usr/bin/python python /usr/bin/python3.13 1 \
&& rm -rf /var/lib/apt/lists/*

RUN yarn policies set-version v1.22.22
Expand Down
5 changes: 3 additions & 2 deletions packages/cubejs-docker/local.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ ENV CUBEJS_DOCKER_IMAGE_TAG=latest

RUN DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
# python3 package is necessary to install `python3` executable for node-gyp
&& apt-get install -y --no-install-recommends libssl3t64 python3 python3.13 libpython3.13-dev ca-certificates \
&& apt-get install -y --no-install-recommends libssl3t64 python3.13 libpython3.13-dev ca-certificates \
&& update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 1 \
&& update-alternatives --install /usr/bin/python python /usr/bin/python3.13 1 \
&& rm -rf /var/lib/apt/lists/*

ENV NODE_ENV=production
Expand Down
6 changes: 5 additions & 1 deletion packages/cubejs-docker/testing-drivers.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ ENV CI=0
RUN DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
&& apt-get install -y --no-install-recommends libssl3t64 curl \
cmake python3 gcc g++ make cmake openjdk-21-jdk-headless unzip \
cmake python3.13 gcc g++ make cmake openjdk-21-jdk-headless unzip \
&& update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 1 \
&& update-alternatives --install /usr/bin/python python /usr/bin/python3.13 1 \
&& rm -rf /var/lib/apt/lists/*

ENV CUBESTORE_SKIP_POST_INSTALL=true
Expand Down Expand Up @@ -168,6 +170,8 @@ FROM base AS final
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y ca-certificates python3.13 libpython3.13-dev \
&& update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 1 \
&& update-alternatives --install /usr/bin/python python /usr/bin/python3.13 1 \
&& apt-get clean

COPY --from=build /cubejs .
Expand Down
Loading