ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=22.04 |
ADD file:d5da92199726e42da09a6f75a778befb607fe3f79e4afaf7ef5188329b26b386 in / |
CMD ["/bin/bash"] |
ENV APP_UID=1654 ASPNETCORE_HTTP_PORTS=8080 DOTNET_RUNNING_IN_CONTAINER=true |
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libc6 libgcc-s1 libicu70 libssl3 libstdc++6 tzdata zlib1g && rm -rf /var/lib/apt/lists/* # buildkit |
RUN /bin/sh -c groupadd --gid=$APP_UID app && useradd -l --uid=$APP_UID --gid=$APP_UID --create-home app # buildkit |
ENV DOTNET_VERSION=8.0.7 |
COPY /dotnet /usr/share/dotnet # buildkit |
RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit |
ENV ASPNET_VERSION=8.0.7 |
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_POLLSERVICE_PollHost__Connection=http://localhost:10000 |
ENV XDG_DATA_HOME=/var/ |
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"] |