File tree 6 files changed +74
-6
lines changed
6 files changed +74
-6
lines changed Original file line number Diff line number Diff line change @@ -64,13 +64,15 @@ workflows:
64
64
- build_dotnet20 : { requires: [ fan_in_1 ] }
65
65
- build_dotnet21 : { requires: [ fan_in_1 ] }
66
66
- build_dotnet22 : { requires: [ fan_in_1 ] }
67
+ - build_dotnet31 : { requires: [ fan_in_1 ] }
67
68
68
69
- fan_in_2 :
69
70
requires :
70
71
- build_dotnet11
71
72
- build_dotnet20
72
73
- build_dotnet21
73
74
- build_dotnet22
75
+ - build_dotnet31
74
76
75
77
- build_awscli1_11 : { requires: [ fan_in_2 ] }
76
78
- build_awscli1_14 : { requires: [ fan_in_2 ] }
@@ -179,6 +181,9 @@ jobs:
179
181
build_dotnet22 :
180
182
<< : *build_image
181
183
environment : [ { DOCKER_PATH: './dotnet/2.2', DOCKER_TAG: 'dotnet2.2-debian9' } ]
184
+ build_dotnet31 :
185
+ << : *build_image
186
+ environment : [ { DOCKER_PATH: './dotnet/3.1', DOCKER_TAG: 'dotnet3.1-debian10' } ]
182
187
183
188
fan_in_2 :
184
189
<< : *fan_in
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ Windows containers have all versions of .NET Framework 4.x and .NET Core 1.x and
76
76
- ` dotnet2.0-debian8 ` ([ dotnet/2.0/Dockerfile] ( https://github.com/hal-platform/hal-build-environments/blob/master/dotnet/2.0/Dockerfile ) )
77
77
- ` dotnet2.1-debian8 ` ([ dotnet/2.1/Dockerfile] ( https://github.com/hal-platform/hal-build-environments/blob/master/dotnet/2.1/Dockerfile ) )
78
78
- ` dotnet2.2-debian9 ` ([ dotnet/2.2/Dockerfile] ( https://github.com/hal-platform/hal-build-environments/blob/master/dotnet/2.2/Dockerfile ) )
79
+ - ` dotnet3.1-debian10 ` ([ dotnet/3.1/Dockerfile] ( https://github.com/hal-platform/hal-build-environments/blob/master/dotnet/3.1/Dockerfile ) )
79
80
80
81
#### Python
81
82
Original file line number Diff line number Diff line change @@ -40,8 +40,6 @@ RUN curl "https://packages.microsoft.com/keys/microsoft.asc" | apt-key add - \
40
40
&& \
41
41
apt-get update \
42
42
&& \
43
- apt-cache madison powershell && \
44
- apt-cache madison dotnet-host && \
45
43
apt-get install -y \
46
44
"dotnet-sdk-${DOTNET_SDK_VERSION}=${DOTNET_PACKAGE_VERSION}-1" \
47
45
"dotnet-host=${DOTNET_SDK_VERSION}.6-1" \
Original file line number Diff line number Diff line change @@ -29,9 +29,6 @@ RUN curl "https://packages.microsoft.com/keys/microsoft.asc" | apt-key add - \
29
29
&& \
30
30
apt-get update \
31
31
&& \
32
- apt-cache madison "powershell" && \
33
- apt-cache madison "dotnet-host" && \
34
- apt-cache madison "dotnet-sdk-${DOTNET_SDK_VERSION}" && \
35
32
apt-get install -y \
36
33
"dotnet-sdk-${DOTNET_SDK_VERSION}=${DOTNET_PACKAGE_VERSION}-1" \
37
34
"dotnet-host" \
Original file line number Diff line number Diff line change
1
+ FROM halplatform/hal-build-environments:debian10-buildpack
2
+
3
+ # Install .NET CLI dependencies
4
+ RUN \
5
+ apt-get update \
6
+ && \
7
+ apt-get install -y --no-install-recommends \
8
+ libicu63 \
9
+ libssl1.1 \
10
+ libc6 \
11
+ libgcc1 \
12
+ libgssapi-krb5-2 \
13
+ liblttng-ust0 \
14
+ libstdc++6 \
15
+ zlib1g \
16
+ \
17
+ gettext \
18
+ apt-transport-https \
19
+ && \
20
+ rm -rf /var/lib/apt/lists/*
21
+
22
+ ENV DOTNET_SDK_VERSION "3.1"
23
+ ENV DOTNET_PACKAGE_VERSION "3.1.100"
24
+ ENV POWERSHELL_VERSION "7.0.0-rc.1"
25
+
26
+ # Install Dotnet
27
+
28
+ RUN curl -sL "https://packages.microsoft.com/keys/microsoft.asc" | apt-key add - \
29
+ && \
30
+ curl -sLo "/etc/apt/sources.list.d/microsoft.list" \
31
+ "https://packages.microsoft.com/config/debian/10/prod.list" \
32
+ && \
33
+ apt-get update \
34
+ && \
35
+ apt-get install -y \
36
+ "dotnet-sdk-${DOTNET_SDK_VERSION}=${DOTNET_PACKAGE_VERSION}-1" \
37
+ && \
38
+ rm -rf /var/lib/apt/lists/*
39
+
40
+ # Install Powershell
41
+
42
+ RUN curl -sLo "/tmp/powershell.tgz" \
43
+ "https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell-${POWERSHELL_VERSION}-linux-x64.tar.gz" \
44
+ && \
45
+ mkdir -p "/opt/microsoft/powershell/7" \
46
+ && \
47
+ tar zxf "/tmp/powershell.tgz" -C "/opt/microsoft/powershell/7" \
48
+ && \
49
+ chmod +x "/opt/microsoft/powershell/7/pwsh" \
50
+ && \
51
+ ln -s "/opt/microsoft/powershell/7/pwsh" /usr/bin/pwsh
52
+
53
+ ENV NUGET_XMLDOC_MODE skip
54
+ ENV DOTNET_CLI_TELEMETRY_OPTOUT 1
55
+
56
+ # Trigger the population of the local package cache
57
+ RUN mkdir warmup \
58
+ && \
59
+ cd warmup \
60
+ && \
61
+ dotnet new \
62
+ && \
63
+ cd .. \
64
+ && \
65
+ rm -rf warmup \
66
+ && \
67
+ rm -rf /tmp/NuGetScratch
Original file line number Diff line number Diff line change 1
1
FROM python:3.6.2-stretch
2
2
3
- ENV AWSCLI_VERSION 1.16.131
3
+ ENV AWSCLI_VERSION 1.16.306
4
4
5
5
RUN \
6
6
curl -Lo "yq" "https://github.com/mikefarah/yq/releases/download/1.14.0/yq_linux_amd64" \
You can’t perform that action at this time.
0 commit comments