liquidcode-tester-worker (sha256:1a868cf11184c7f8d11030f8fb11bc0f659d8c9b6dd56a1e3305201a9028d0fc)
Installation
docker pull git.liquidcode.ru/liquidcode/liquidcode-tester-worker@sha256:1a868cf11184c7f8d11030f8fb11bc0f659d8c9b6dd56a1e3305201a9028d0fcsha256:1a868cf11184c7f8d11030f8fb11bc0f659d8c9b6dd56a1e3305201a9028d0fcImage Layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1763337600' |
| 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 libicu72 libssl3 libstdc++6 tzdata && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c groupadd --gid=$APP_UID app && useradd --no-log-init --uid=$APP_UID --gid=$APP_UID --create-home app # buildkit |
| ENV DOTNET_VERSION=9.0.11 |
| COPY /dotnet /usr/share/dotnet # buildkit |
| RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit |
| ENV ASPNET_VERSION=9.0.11 |
| COPY /dotnet /usr/share/dotnet # buildkit |
| WORKDIR /app |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends g++ gcc make openjdk-17-jdk python3 python3-pip wget unzip && wget -q https://github.com/JetBrains/kotlin/releases/download/v1.9.20/kotlin-compiler-1.9.20.zip -O /tmp/kotlin.zip && unzip -q /tmp/kotlin.zip -d /opt && rm /tmp/kotlin.zip && ln -s /opt/kotlinc/bin/kotlinc /usr/local/bin/kotlinc && ln -s /opt/kotlinc/bin/kotlin /usr/local/bin/kotlin && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates gnupg && gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/debian stable-buster main" | tee /etc/apt/sources.list.d/mono-official-stable.list && apt-get update && apt-get install -y --no-install-recommends mono-devel && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends git libcap-dev libsystemd-dev pkg-config && git clone https://github.com/ioi/isolate.git /tmp/isolate && cd /tmp/isolate && make isolate && make install && rm -rf /tmp/isolate && apt-get remove -y git && apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c useradd -m -u 1001 -s /bin/bash workeruser && mkdir -p /var/local/lib/isolate && chmod 755 /var/local/lib/isolate && chown -R workeruser:workeruser /var/local/lib/isolate # buildkit |
| RUN /bin/sh -c echo "cg_root = /sys/fs/cgroup" > /usr/local/etc/isolate && echo "cg_enable = 1" >> /usr/local/etc/isolate && echo "box_root = /var/local/lib/isolate" >> /usr/local/etc/isolate # buildkit |
| COPY /app/publish . # buildkit |
| RUN /bin/sh -c mkdir -p /tmp/testing && chown -R workeruser:workeruser /tmp/testing && chown -R workeruser:workeruser /app # buildkit |
| ENV ASPNETCORE_URLS=http://+:8080 |
| USER workeruser |
| ENTRYPOINT ["dotnet" "LiquidCode.Tester.Worker.dll"] |
Details
2025-11-30 20:29:56 +00:00
Versions (7)
View all
Container
0
OCI / Docker
linux/amd64
582 MiB
buildcache
2025-11-30
6d010ea9adfc925b640b71dfbcb477f369ef7400
2025-11-30
latest
2025-11-30
55af8257a77aed57c64d40a3528f3b0663542571
2025-11-05
50a94ae2be055f221d46f9451d6ad0e08d8a8da4
2025-11-02