ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=20.04 |
ADD file:8b180a9b4497de0c6e131d6b48cf5c69a885379e63033ab9639d1655991e626c in / |
CMD ["/bin/bash"] |
/bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates libc6 libgcc1 libgssapi-krb5-2 libicu66 libssl1.1 libstdc++6 zlib1g && rm -rf /var/lib/apt/lists/* |
ENV ASPNETCORE_URLS=http://+:80 DOTNET_RUNNING_IN_CONTAINER=true |
ENV DOTNET_VERSION=6.0.13 |
COPY dir:404ea5054724e4b7fb09b0b646eca7d54cff67b4d095f60dbfba65d984ab7d7a in /usr/share/dotnet |
/bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet |
ENV ASPNET_VERSION=6.0.13 |
COPY dir:82d67b985dcff3c2c1f70bbd37ecbba91b3d9b90f3c7459f51df67098a3591ac in /usr/share/dotnet/shared/Microsoft.AspNetCore.App |
RUN /bin/sh -c echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections && apt-get update && apt-get install -y ttf-mscorefonts-installer && rm -rf /var/lib/apt/lists/* # buildkit |
COPY Source/usr/LERS/bootstrap-reporting.sh / # buildkit |
RUN /bin/sh -c chmod 755 /bootstrap-reporting.sh # buildkit |
RUN /bin/sh -c /bootstrap-reporting.sh # buildkit |
RUN /bin/sh -c rm -rf /var/lib/apt/lists/* # buildkit |
RUN /bin/sh -c rm /bootstrap-reporting.sh # buildkit |
ENV LERS_SERVER_UpdatesDistribution__Enabled=true |
ENV LERS_SERVER_InContainer=true |
ENV LERS_POLLSERVICE_PollHost__Connection=http://localhost:10000 |
COPY Source/ / # buildkit |
COPY Source/usr/LERS/install.sh / # buildkit |
RUN /bin/sh -c chmod 555 /usr/LERS/start-server.sh # buildkit |
RUN /bin/sh -c chmod 555 /install.sh # buildkit |
VOLUME [/var/LERS] |
VOLUME [/etc/LERS] |
EXPOSE map[10000/tcp:{}] |
CMD ["/usr/LERS/start-server.sh"] |