-
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
1 parent
7da9a39
commit 710076c
Showing
1 changed file
with
10 additions
and
10 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 |
---|---|---|
|
@@ -5,12 +5,12 @@ FROM gokaygurcan/ubuntu:latest | |
# metadata | ||
LABEL maintainer = "Gökay Gürcan <[email protected]>" | ||
LABEL com.gokaygurcan.project.name = "dockerfile-node" | ||
LABEL com.gokaygurcan.project.version = "1.2.1" | ||
LABEL com.gokaygurcan.project.version = "1.2.2" | ||
LABEL org.label-schema.name = "dockerfile-node" | ||
LABEL org.label-schema.description = "Node.js with npm, Yarn and N|Solid." | ||
LABEL org.label-schema.vcs-url = "https://github.com/gokaygurcan/dockerfile-node" | ||
LABEL org.label-schema.vendor = "gokaygurcan" | ||
LABEL org.label-schema.version = "1.2.1" | ||
LABEL org.label-schema.version = "1.2.2" | ||
LABEL org.label-schema.schema-version = "1.0" | ||
|
||
ENV DEBIAN_FRONTEND="noninteractive" \ | ||
|
@@ -29,7 +29,7 @@ RUN curl -sLf -o /dev/null "https://deb.nodesource.com/${NS_NODE}/dists/${NS_DIS | |
echo "deb https://deb.nodesource.com/${NS_NODE} ${NS_DISTRO} main" | tee /etc/apt/sources.list.d/nodesource-node.list && \ | ||
echo "deb-src https://deb.nodesource.com/${NS_NODE} ${NS_DISTRO} main" | tee -a /etc/apt/sources.list.d/nodesource-node.list && \ | ||
apt-get update -qq && \ | ||
apt-get install -y nodejs && \ | ||
apt-get install -yqq nodejs && \ | ||
npm config list > /dev/null 2>&1 && \ | ||
mkdir -p /home/ubuntu/.config && \ | ||
chown -R ubuntu:$(id -gn ubuntu) /home/ubuntu/.config && \ | ||
|
@@ -38,14 +38,14 @@ RUN curl -sLf -o /dev/null "https://deb.nodesource.com/${NS_NODE}/dists/${NS_DIS | |
npm config --global set prefix /home/ubuntu/.npm-global && \ | ||
curl -s https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \ | ||
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \ | ||
apt-get update && \ | ||
apt-get update -qq && \ | ||
apt-get install -y yarn && \ | ||
curl -sLf -o /dev/null "https://deb.nodesource.com/${NS_NSOLID}/dists/${NS_DISTRO}/Release" && \ | ||
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \ | ||
echo "deb https://deb.nodesource.com/${NS_NSOLID} ${NS_DISTRO} main" | tee /etc/apt/sources.list.d/nodesource-nsolid.list && \ | ||
echo "deb-src https://deb.nodesource.com/${NODEREPO} ${DISTRO} main" | tee -a /etc/apt/sources.list.d/nodesource-nsolid.list && \ | ||
apt-get update && \ | ||
apt-get install -y nsolid-dubnium && \ | ||
curl -sLf -o /dev/null "http://nsolid-deb.nodesource.com/${NS_NSOLID}/dists/${NS_DISTRO}/Release" && \ | ||
curl -s http://nsolid-deb.nodesource.com/gpgkey/NODESOURCE-NSOLID-GPG-SIGNING-KEY | apt-key add - && \ | ||
echo "deb http://nsolid-deb.nodesource.com/${NS_NSOLID} ${NS_DISTRO} main" | tee /etc/apt/sources.list.d/nodesource-nsolid.list && \ | ||
echo "deb-src http://nsolid-deb.nodesource.com/${NS_NSOLID} ${NS_DISTRO} main" | tee -a /etc/apt/sources.list.d/nodesource-nsolid.list && \ | ||
apt-get update -qq && \ | ||
apt-get install -yqq nsolid-dubnium && \ | ||
apt-get autoclean -yqq && \ | ||
apt-get autoremove -yqq && \ | ||
rm -rf ${USR_SRC_NODE} && \ | ||
|