This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Eric Swanson
committed
Dec 7, 2018
1 parent
bc75b77
commit 4fb313f
Showing
2 changed files
with
25 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
ARG IMAGE_TAG="8-jdk" | ||
ARG NODE_MAJOR_VERSION="10" | ||
|
||
FROM openjdk:${IMAGE_TAG} | ||
|
||
LABEL organization="Ourchitecture" | ||
LABEL license="MIT" | ||
LABEL url="https://github.com/ourchitecture/docker-ibmcloud-cli" | ||
|
||
USER root | ||
|
||
# Install node 10 | ||
RUN set -x \ | ||
&& apt-get update \ | ||
&& apt-get install -my gnupg curl \ | ||
&& curl -sL https://deb.nodesource.com/setup_${NODE_MAJOR_VERSION}.x | bash - \ | ||
&& apt-get install -y nodejs \ | ||
&& npm install -g npm@latest \ | ||
&& node --version \ | ||
&& npm --version | ||
|
||
CMD ['java'] |
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