-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
27 lines (24 loc) · 966 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# TBD? https://github.com/moby/moby/pull/31352
# ARG NODE_VERSION=latest
# FROM node:$NODE_VERSION
FROM node:latest as auto-build-trigger
FROM mcr.microsoft.com/dotnet/core/sdk:latest
MAINTAINER davidkassa <[email protected]>
# Build-time metadata as defined at http://label-schema.org
ARG BUILD_DATE
ARG VCS_REF
ARG VERSION
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.license="MIT" \
org.label-schema.name="dotnet-nodejs" \
org.label-schema.description="Auto-updating Docker image based on .NET Core official image with Node.js installed." \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url="https://github.com/davidkassa/dotnet-nodejs" \
org.label-schema.version=$VERSION \
org.label-schema.schema-version="1.0"
# Commands
RUN apt-get update -yq \
&& apt-get install curl gnupg -yq \
&& curl -sL https://deb.nodesource.com/setup_12.x | bash \
&& apt-get install nodejs -yq \
&& apt-get install zip -yq