Skip to content

Commit

Permalink
Upgraded npm and added Yarn (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
asafgabai authored Jul 13, 2021
1 parent 5368173 commit 9478441
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN apt update
RUN apt install -yq zip unzip curl git uuid jq gettext software-properties-common python3-pip python3-venv nodejs npm

# Configure Python
RUN ln -s /usr/bin/pip3 /usr/bin/pip
RUN ln -sf /usr/bin/pip3 /usr/bin/pip
RUN ln -s /usr/bin/python3 /usr/bin/python

# Install Go
Expand Down Expand Up @@ -46,6 +46,13 @@ RUN curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontaine
RUN apt update
RUN apt -yq install podman

# Upgrade npm
RUN npm config set prefix /usr
RUN npm install -g --force npm

# Install Yarn
RUN npm install -g yarn

# Clean up
RUN apt autoremove
RUN apt clean

0 comments on commit 9478441

Please sign in to comment.