Skip to content

Commit

Permalink
Merge pull request #38 from mobilecoinofficial/nick/remove-node
Browse files Browse the repository at this point in the history
Remove install of nodejs
  • Loading branch information
nick-mobilecoin authored Oct 18, 2023
2 parents 28ada68 + ba2b5a0 commit 982c707
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,9 @@ ENV GOPATH=/opt/go/
ENV PATH="/usr/local/go/bin:$GOPATH/bin:$PATH"
RUN mkdir -p "${GOPATH}"

ENV NODE_MAJOR=18

# Add sources for nodejs and install it and other helpers from apt.
RUN mkdir -p /etc/apt/keyrings \
&& wget -qO - https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \
RUN apt-get update \
&& apt-get install -y \
nginx \
nodejs \
postgresql \
postgresql-client \
python3 \
Expand Down

0 comments on commit 982c707

Please sign in to comment.