-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
FROM node:14.17.3 | ||
FROM ubuntu:latest | ||
|
||
# Install dependencies: curl, git, jq, python2 and jre8. | ||
RUN apt-get update && \ | ||
apt-get install -y curl git jq python openjdk-8-jre-headless | ||
apt-get install -y curl git jq python-is-python3 openjdk-11-jre-headless nodejs npm wget | ||
|
||
# Install npm at 6.14.13. | ||
RUN npm install --global [email protected] | ||
# Print Node version and npm version | ||
RUN node -v | ||
RUN npm -v | ||
|
||
# Install hub | ||
RUN curl -fsSL --output hub.tgz https://github.com/github/hub/releases/download/v2.11.2/hub-linux-amd64-2.11.2.tgz | ||
|