Commit 99b38202 authored by Alan Nelson's avatar Alan Nelson
Browse files

Merge branch 'dotnet-build-server-add-nodejs' into 'develop'

Add nodejs to dotnet build server

Closes #18

See merge request !66
parents fe50bf93 3bbc9c09
......@@ -8,15 +8,18 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.description="Docker image to build .NET core 3.1 applications" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vendor="University of Nebraska - Lincoln" \
org.label-schema.version="0.1.1" \
org.label-schema.version="0.1.2" \
org.label-schema.schema-version="1.0" \
maintainer="Roger Feese <rfeese@nebraska.edu>"
# Make sure that tools we need are installed
# JRE for sonarqube scanner post-scan
# Add external nodejs LTS apt source
RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash -
# JRE, NodeJS for sonarqube scanner post-scan
RUN apt-get update && apt-get install -y \
git \
openjdk-11-jre \
nodejs \
&& rm -rf /var/lib/apt/lists/*
# sonarscanner (https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/)
......
......@@ -8,15 +8,20 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.description="Docker image to build .NET core 5.0 applications" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vendor="University of Nebraska - Lincoln" \
org.label-schema.version="0.1.1" \
org.label-schema.version="0.1.2" \
org.label-schema.schema-version="1.0" \
maintainer="Roger Feese <rfeese@nebraska.edu>"
# Make sure that tools we need are installed
# JRE for sonarqube scanner post-scan
# Add external nodejs LTS apt source
RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash -
# Create missing man directores for update-alternatives
RUN mkdir -p /usr/share/man/man1
# JRE, NodeJS for sonarqube scanner post-scan
RUN apt-get update && apt-get install -y \
git \
openjdk-11-jre \
nodejs \
&& rm -rf /var/lib/apt/lists/*
# sonarscanner (https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment