Skip to content

Commit

Permalink
Fix SDK version
Browse files Browse the repository at this point in the history
  • Loading branch information
winromulus committed Jan 12, 2020
1 parent 1a00601 commit 931e207
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ES.SFTP.Host/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/core/aspnet:3.0-buster-slim AS base
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS base
RUN apt-get update && \
# - Install required packages
#
Expand All @@ -21,7 +21,7 @@ RUN apt-get update && \
WORKDIR /app
EXPOSE 22 80

FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build
WORKDIR /src
COPY ["ES.SFTP.Host/ES.SFTP.Host.csproj", "ES.SFTP.Host/"]
RUN dotnet restore "ES.SFTP.Host/ES.SFTP.Host.csproj"
Expand Down
4 changes: 4 additions & 0 deletions deploy/helm/sftp/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ spec:
{{- end }}
containers:
- name: {{ .Chart.Name }}
{{- if .Values.image.tag }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- else }}
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
{{- end }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: ssh
Expand Down

0 comments on commit 931e207

Please sign in to comment.