You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.0 KiB
25 lines
1.0 KiB
FROM alpine:latest
|
|
|
|
RUN apk add --no-cache ca-certificates krb5-libs libgcc libintl libssl3 libstdc++ zlib
|
|
RUN apk add --no-cache curl icu-data-full icu-libs git
|
|
RUN apk --no-cache add openjdk16
|
|
RUN apk add --no-cache \
|
|
ca-certificates \
|
|
wget \
|
|
&& wget -O dotnet.tar.gz https://download.visualstudio.microsoft.com/download/pr/40a3227f-0d20-4c23-b1a5-ecd659e3faef/fa59541ab3a35a50172ea5f81070e075/dotnet-sdk-8.0.100-linux-musl-x64.tar.gz \
|
|
&& mkdir -p /usr/share/dotnet \
|
|
&& tar -C /usr/share/dotnet -xzf dotnet.tar.gz \
|
|
&& rm dotnet.tar.gz \
|
|
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
|
|
|
|
RUN dotnet tool install --global dotnet-sonarscanner
|
|
RUN dotnet tool install --global dotnet-reportgenerator-globaltool
|
|
|
|
ENV JAVA_HOME=/usr/lib/jvm/default-jvm/
|
|
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/default-jvm//bin
|
|
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/default-jvm//bin:/root/.dotnet/tools
|
|
|
|
|
|
WORKDIR /build
|
|
|
|
COPY . ./ |