Skip to content

Commit

Permalink
roll back dockerfile changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Feb 9, 2024
1 parent c7a36ee commit 0655ac2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ephemeral-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ jobs:
}
core.info(`Getting PR #${request.pull_number} from ${request.owner}/${request.repo}`)
const pr = await github.rest.pulls.get(request);
console.log(pr.data);
return pr.data;
- name: Debug
Expand Down
21 changes: 5 additions & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ FROM --platform=${BUILDPLATFORM} node:16-bookworm-slim AS superset-node

ARG NPM_BUILD_CMD="build"

RUN \
--mount=type=cache,id=apt-cache-${TARGETARCH}-${TARGETVARIANT},sharing=locked,target=/var/lib/apt/lists \
--mount=type=cache,id=apt-cache-${TARGETARCH}-${TARGETVARIANT},sharing=locked,target=/var/cache/apt \
apt-get update -qq \
RUN apt-get update -qq \
&& apt-get install -yqq --no-install-recommends \
build-essential \
python3
Expand Down Expand Up @@ -64,14 +61,9 @@ ENV LANG=C.UTF-8 \
SUPERSET_HOME="/app/superset_home" \
SUPERSET_PORT=8088

RUN \
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

RUN \
--mount=type=cache,id=apt-cache-${TARGETARCH}-${TARGETVARIANT},sharing=locked,target=/var/lib/apt/lists \
--mount=type=cache,id=apt-cache-${TARGETARCH}-${TARGETVARIANT},sharing=locked,target=/var/cache/apt \
apt-get update -qq && apt-get install -yqq --no-install-recommends \
RUN 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 \
build-essential \
curl \
default-libmysqlclient-dev \
Expand Down Expand Up @@ -119,10 +111,7 @@ ARG GECKODRIVER_VERSION=v0.33.0 \

USER root

RUN \
--mount=type=cache,id=apt-cache-${TARGETARCH}-${TARGETVARIANT},sharing=locked,target=/var/lib/apt/lists \
--mount=type=cache,id=apt-cache-${TARGETARCH}-${TARGETVARIANT},sharing=locked,target=/var/cache/apt \
apt-get update -qq \
RUN apt-get update -qq \
&& apt-get install -yqq --no-install-recommends \
libnss3 \
libdbus-glib-1-2 \
Expand Down

0 comments on commit 0655ac2

Please sign in to comment.