agones.dev/agones@v1.53.0/build/build-sdk-images/csharp/Dockerfile (about) 1 # Copyright 2020 Google LLC All Rights Reserved. 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 ARG BASE_IMAGE=agones-build-sdk-base:latest 15 FROM $BASE_IMAGE 16 17 # Add installation step required to generate your SDK. 18 # This should contains tooling required to generate GRPC code, build (if distribution is required) 19 # and test your integration. 20 21 RUN apt-get --allow-releaseinfo-change update && \ 22 apt-get install -y wget 23 24 RUN apt-get update \ 25 && apt-get install -y apt-transport-https 26 27 RUN wget -q https://packages.microsoft.com/config/ubuntu/19.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \ 28 && dpkg -i packages-microsoft-prod.deb \ 29 && wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \ 30 && dpkg -i packages-microsoft-prod.deb 31 32 33 RUN apt-get update \ 34 && apt-get install -y dotnet-sdk-7.0 35 36 # code generation scripts 37 COPY *.sh /root/ 38 RUN chmod +x /root/*.sh