Skip to content

Commit

Permalink
remove the magic which update codes only when building a docker image…
Browse files Browse the repository at this point in the history
… with a commit callback (kubeflow#3188)

Co-authored-by: renmingu <[email protected]>
  • Loading branch information
2 people authored and Jeffwan committed Dec 9, 2020
1 parent ffe2800 commit a6b6424
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ COPY . .

WORKDIR ./frontend

# Pin getting started page links to the commit that built the frontend image
RUN sed -E "s#/(blob|tree)/master/#/\1/${COMMIT_HASH}/#g" -i src/pages/GettingStarted.tsx && \
sed -E "s#/(blob|tree)/master/#/\1/${COMMIT_HASH}/#g" -i src/pages/GettingStarted.test.tsx

RUN npm ci && npm run postinstall
RUN npm run build

Expand Down

0 comments on commit a6b6424

Please sign in to comment.