Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docker-ci
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UNL ITS
docker-ci
Commits
8c14a041
Commit
8c14a041
authored
3 months ago
by
Conrad Engel
Browse files
Options
Downloads
Patches
Plain Diff
Add .NET 8.0 image
parent
ca02e8b4
No related branches found
No related tags found
2 merge requests
!109
Add .NET 8.0 image
,
!108
Add .NET 8.0 image
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+4
-1
4 additions, 1 deletion
Makefile
dotnet-build-server/8.0/Dockerfile
+30
-0
30 additions, 0 deletions
dotnet-build-server/8.0/Dockerfile
with
34 additions
and
1 deletion
Makefile
+
4
−
1
View file @
8c14a041
...
...
@@ -30,7 +30,7 @@ php-browser-test: php-browser-test_8.2 php-browser-test_latest
mobile
:
android-build-server
static-code-analysis
:
static-code-analysis_latest static-code-analysys_php static-code-analysys_python static-code-analysys_android
utility
:
alpine-ssh-client merge-request-check
dotnet
:
dotnet_6.0
dotnet
:
dotnet_6.0
dotnet_8.0
# PHP Lint Images
####################
...
...
@@ -147,6 +147,9 @@ dependency-check: dependency-check/Dockerfile
dotnet_6.0
:
dotnet-build-server/6.0/Dockerfile
docker build
$(
BUILD_ARGS
)
-t
${
REPO_ORG
}
/dotnet-build-server:6.0
-f
dotnet-build-server/6.0/Dockerfile dotnet-build-server/6.0/
dotnet_8.0
:
dotnet-build-server/8.0/Dockerfile
docker build
$(
BUILD_ARGS
)
-t
${
REPO_ORG
}
/dotnet-build-server:8.0
-f
dotnet-build-server/8.0/Dockerfile dotnet-build-server/8.0/
#IMAGES_TO_SCAN = $(shell docker images --format '{{.Repository}}:{{.Tag}}' | grep unl-its )
#security:
# @docker login -u ${TENABLE_IO_ACCESS_KEY} -p ${TENABLE_IO_SECRET_KEY} registry.cloud.tenable.com
...
...
This diff is collapsed.
Click to expand it.
dotnet-build-server/8.0/Dockerfile
0 → 100644
+
30
−
0
View file @
8c14a041
FROM
mcr.microsoft.com/dotnet/sdk:8.0
ARG
BUILD_DATE
ARG
VCS_REF
ARG
VERSION
LABEL
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="dotnet SDK 8.0" \
org.label-schema.description="Docker image to build .NET 8.0 applications" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vendor="University of Nebraska - Lincoln" \
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
# Add external nodejs LTS apt source
RUN
curl
-fsSL
https://deb.nodesource.com/setup_22.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-17-jre
\
nodejs
\
&&
rm
-rf
/var/lib/apt/lists/
*
# sonarscanner (https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/)
RUN
dotnet tool
install
--global
dotnet-sonarscanner
RUN
dotnet tool
install
--global
trx2junit
ENV
PATH=/root/.dotnet/tools:$PATH
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment