Skip to content

Commit

Permalink
GH-1869 Remove NPM installation phase from Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dzikoysk committed Jul 1, 2023
1 parent 01a1ab0 commit c1ebadb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
FROM openjdk:19-slim AS build
COPY . /home/reposilite-build
WORKDIR /home/reposilite-build
RUN apt-get update; apt-get install -y curl \
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - &&\
apt-get install -y nodejs &&\
apt-get install -y npm \
RUN \
apt-get update; apt-get install -y curl
RUN \
export GRADLE_OPTS="-Djdk.lang.Process.launchMechanism=vfork" && \
chmod +x gradlew && \
Expand Down

0 comments on commit c1ebadb

Please sign in to comment.