helmVersion: 3.2.3 + Base images updates (#51)
* helmVersion: 3.2.3 * helmVersion: 3.2.3 * mcr.microsoft.com/dotnet/core/aspnet:3.1.5-alpine * golang:1.14.4 * node:14.4.0-alpine
This commit is contained in:
Родитель
6b6ff2962c
Коммит
340200eec1
|
@ -1,5 +1,5 @@
|
|||
# Build
|
||||
FROM golang:1.14.2 as builder
|
||||
FROM golang:1.14.4 as builder
|
||||
|
||||
WORKDIR /build
|
||||
COPY main.go .
|
||||
|
|
|
@ -2,6 +2,6 @@ parameters:
|
|||
projectName: ''
|
||||
|
||||
variables:
|
||||
helmVersion: 3.2.0
|
||||
helmVersion: 3.2.3
|
||||
registryServerName: '$(registryName).azurecr.io'
|
||||
projectName: ${{ parameters.projectName }}
|
||||
|
|
|
@ -2,7 +2,7 @@ parameters:
|
|||
projectName: ''
|
||||
|
||||
variables:
|
||||
helmVersion: 3.2.0
|
||||
helmVersion: 3.2.3
|
||||
registryServerName: '$(registryName).azurecr.io'
|
||||
projectName: ${{ parameters.projectName }}
|
||||
imageName: ${{ parameters.projectName }}
|
||||
|
|
|
@ -18,7 +18,7 @@ WORKDIR /app
|
|||
COPY . /app
|
||||
|
||||
# Release with Alpine
|
||||
FROM node:14.2.0-alpine AS release
|
||||
FROM node:14.4.0-alpine AS release
|
||||
|
||||
# Create app directory
|
||||
WORKDIR /app
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.202-alpine AS build-env
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.301-alpine AS build-env
|
||||
WORKDIR /app
|
||||
|
||||
# Copy csproj and restore as distinct layers
|
||||
|
@ -10,7 +10,7 @@ COPY . ./
|
|||
RUN dotnet publish -c Release -o out
|
||||
|
||||
# Build runtime image
|
||||
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1.4-alpine
|
||||
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1.5-alpine
|
||||
WORKDIR /app
|
||||
COPY --from=build-env /app/out .
|
||||
ENTRYPOINT ["dotnet", "parrot.dll"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче