You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently updating a Dockerfile from using the Redash Docker image with tag sha256:9960fbad10f719c8a59776d5d2d190154a69fa3e3603a40c4c0d18029a3199a1 to sha256:f3e8d95656255d9684051604a586dfd50035fa1e297e68379dc1b557f1885c0f. During this update, I'm encountering issues related to missing yarn.lock and .yarnrc files. The Dockerfile contains customizations that require these files, and I need assistance in resolving the "not found" issue.
ARG code_coverage
ENV BABEL_ENV=${code_coverage:+test}
#RUN rm yarn.lock
RUN yarn config set network-timeout 300000
RUN yarn --frozen-lockfile install --network-concurrency 1 --ignore-scripts #npm ci --unsafe-perm
RUN yarn add [email protected]
RUN yarn build #npm run build
`
I would appreciate any guidance on resolving this issue and ensuring a smooth update to the latest Redash image. Thank you!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm currently updating a Dockerfile from using the Redash Docker image with tag sha256:9960fbad10f719c8a59776d5d2d190154a69fa3e3603a40c4c0d18029a3199a1 to sha256:f3e8d95656255d9684051604a586dfd50035fa1e297e68379dc1b557f1885c0f. During this update, I'm encountering issues related to missing yarn.lock and .yarnrc files. The Dockerfile contains customizations that require these files, and I need assistance in resolving the "not found" issue.
Here is a snippet of the relevant portion of my Dockerfile:
`#https://hub.docker.com/layers/redash/redash/10.1.0.b50633/images/sha256-f3e8d95656255d9684051604a586dfd50035fa1e297e68379dc1b557f1885c0f
ARG REDASH_IMAGE_TAG=sha256:f3e8d95656255d9684051604a586dfd50035fa1e297e68379dc1b557f1885c0f
FROM redash/redash@$REDASH_IMAGE_TAG as redash-original
FROM node:14.17 as frontend-builder
RUN npm install --global --force [email protected]
ARG skip_frontend_build
ENV CYPRESS_INSTALL_BINARY=0
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
RUN useradd -m -d /frontend redash
USER redash
WORKDIR /frontend
COPY --from=redash-original --chown=redash /app/package.json /app/webpack.config.js /app/yarn.lock /app/.yarnrc /frontend/
COPY --from=redash-original --chown=redash /app/viz-lib /frontend/viz-lib
COPY --from=redash-original --chown=redash /app/client /frontend/client
COPY --chown=redash src/application/override/viz-lib /frontend/viz-lib
COPY --chown=redash src/application/override/client /frontend/client
COPY --chown=redash src/application/custom/viz-lib /frontend/viz-lib
COPY --chown=redash src/application/custom/client /frontend/client
ARG code_coverage
ENV BABEL_ENV=${code_coverage:+test}
#RUN rm yarn.lock
RUN yarn config set network-timeout 300000
RUN yarn --frozen-lockfile install --network-concurrency 1 --ignore-scripts #npm ci --unsafe-perm
RUN yarn add [email protected]
RUN yarn build #npm run build
`
I would appreciate any guidance on resolving this issue and ensuring a smooth update to the latest Redash image. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions