Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #230 from Vladekk/master
Browse files Browse the repository at this point in the history
Added support for 'Current' channel Dotnet Core in Dockerfile, using …
  • Loading branch information
bcomnes authored Mar 13, 2019
2 parents 7916896 + 29da4a6 commit bcde3fe
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,12 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
xfonts-75dpi \
xvfb \
zip \
# dotnet core dependencies
libunwind8-dev \
libicu-dev \
libcurl3 \
liblttng-ust0 \
libkrb5-3 \
&& \
/var/lib/dpkg/info/ca-certificates-java.postinst configure && \
apt-get clean && \
Expand Down Expand Up @@ -397,6 +403,26 @@ ENV GIMME_GO_VERSION "1.12"
ENV GIMME_ENV_PREFIX "/opt/buildhome/.gimme/env"
RUN gimme



################################################################################
#
# Dotnet Core
#
################################################################################
USER buildbot
WORKDIR /tmp
RUN wget https://dot.net/v1/dotnet-install.sh
RUN chmod u+x /tmp/dotnet-install.sh
RUN /tmp/dotnet-install.sh -c Current
ENV PATH "$PATH:/opt/buildhome/.dotnet/tools"
ENV PATH "$PATH:/opt/buildhome/.dotnet"
ENV DOTNET_ROOT "/opt/buildhome/.dotnet"
#populate local package cache
RUN dotnet new
WORKDIR /


# Cleanup
USER root

Expand Down

0 comments on commit bcde3fe

Please sign in to comment.