Skip to content

Commit

Permalink
remove unused script remove_npm_pnpm_yarn.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
bugraoz93 committed Nov 22, 2024
1 parent aa34de3 commit b4fb977
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -1297,36 +1297,6 @@ common::get_colors
install_npm_pnpm_yarn
EOF


# The content below is automatically copied from scripts/docker/remove_npm_pnpm_yarn.sh
COPY <<"EOF" /remove_npm_pnpm_yarn.sh
#!/usr/bin/env bash
. "$( dirname "${BASH_SOURCE[0]}" )/common.sh"

function remove_npm_pnpm_yarn() {
echo
echo "${COLOR_BLUE}Removing npm, pnpm and yarn${COLOR_RESET}"
echo
set +e
set -x
npm cache clean --force
# Remove pnpm
npm uninstall -g pnpm
# Remove yarn
npm uninstall -g yarn
# Remove npm
apt-get remove -y npm
echo "${COLOR_BLUE}npm, pnpm and yarn removed successfully${COLOR_RESET}"
set +x
set -e
}

common::get_colors

remove_npm_pnpm_yarn
EOF


##############################################################################################
# This is the build image
##############################################################################################
Expand Down

0 comments on commit b4fb977

Please sign in to comment.