Skip to content

Commit

Permalink
fixup! fixup! chore: remove Lerna
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksii Orel <oorel@redhat.com>
  • Loading branch information
olexii4 committed Oct 18, 2024
1 parent b284d5e commit 3ba7dd1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions build/dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN if ! [ type "yarn" &> /dev/null ]; then \
COPY package.json /dashboard/
COPY yarn.lock /dashboard/
COPY tsconfig.json /dashboard/
COPY run/wrksps.sh /dashboard/run/

ENV COMMON=packages/common
COPY ${COMMON}/package.json /dashboard/${COMMON}/
Expand Down
3 changes: 0 additions & 3 deletions build/dockerfiles/brew.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ RUN ln -s "$REMOTE_SOURCES_DIR"/devspaces-images-dashboard/app/devspaces-dashboa
# see https://source.redhat.com/groups/public/container-build-system/container_build_system_wiki/containers_from_source_multistage_builds_in_osbs#jive_content_id_Cachito_Integration_for_yarn
RUN yarn config set nodedir /usr; yarn config set unsafe-perm true && yarn install

# cachito:yarn step 4: lerna installed to $REMOTE_SOURCES_DIR/devspaces-images-dashboard/app/devspaces-dashboard/node_modules/.bin/lerna - add to path
RUN ln -s "$REMOTE_SOURCES_DIR"/devspaces-images-dashboard/app/devspaces-dashboard/node_modules/.bin/lerna /usr/local/bin/lerna

# cachito:yarn step 5: the actual build!
# hadolint ignore=DL3059
RUN yarn build
Expand Down

0 comments on commit 3ba7dd1

Please sign in to comment.