ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=22.04 |
ADD file:99224b1f237763b3053ca27ea5641f9a801c21154c7ccbff2c099654cc6db942 in / |
CMD ["/bin/bash"] |
ENV ASPNETCORE_URLS=http://+:80 DOTNET_RUNNING_IN_CONTAINER=true |
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libc6 libgcc1 libgssapi-krb5-2 libicu70 libssl3 libstdc++6 zlib1g && rm -rf /var/lib/apt/lists/* # buildkit |
ENV DOTNET_VERSION=7.0.15 |
COPY /dotnet /usr/share/dotnet # buildkit |
RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit |
ENV ASPNET_VERSION=7.0.15 |
COPY /shared/Microsoft.AspNetCore.App /usr/share/dotnet/shared/Microsoft.AspNetCore.App # buildkit |
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 |
RUN /bin/sh -c apt-get update && apt-get -y install tzdata # 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"] |