Skip to content

Commit

Permalink
try no-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Feb 9, 2024
1 parent 91dc94e commit 71fd8c3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ FROM --platform=${BUILDPLATFORM} node:16-bookworm-slim AS superset-node

ARG NPM_BUILD_CMD="build"

RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
RUN --no-cache \
apt-get update -qq \
&& apt-get install -yqq --no-install-recommends \
build-essential \
Expand Down Expand Up @@ -63,8 +62,7 @@ ENV LANG=C.UTF-8 \
SUPERSET_HOME="/app/superset_home" \
SUPERSET_PORT=8088

RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
RUN --no-cache \
mkdir -p ${PYTHONPATH} superset/static superset-frontend apache_superset.egg-info requirements \
&& useradd --user-group -d ${SUPERSET_HOME} -m --no-log-init --shell /bin/bash superset \
&& apt-get update -qq && apt-get install -yqq --no-install-recommends \
Expand Down Expand Up @@ -115,8 +113,7 @@ ARG GECKODRIVER_VERSION=v0.33.0 \

USER root

RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
RUN --no-cache \
apt-get update -qq \
&& apt-get install -yqq --no-install-recommends \
libnss3 \
Expand Down

0 comments on commit 71fd8c3

Please sign in to comment.