Marquis03 commited on
Commit
f401c2a
·
verified ·
1 Parent(s): f5dc33d

commit (part 125)

Browse files
thomasmarsh--ode.bcfb66c/tests/Dockerfile CHANGED
@@ -70,3 +70,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
70
  COPY programgym_task.json /tests/programgym_task.json
71
  COPY blobs/ /tests/blobs/
72
  RUN chmod +x /tests/test.sh
 
 
70
  COPY programgym_task.json /tests/programgym_task.json
71
  COPY blobs/ /tests/blobs/
72
  RUN chmod +x /tests/test.sh
73
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
thosakwe--t2b.2e141c2/environment/Dockerfile CHANGED
@@ -64,3 +64,4 @@ RUN mkdir -p /home/agent \
64
  && chmod 111 /workspace/executable
65
  ENV HOME=/home/agent
66
  WORKDIR /workspace
 
 
64
  && chmod 111 /workspace/executable
65
  ENV HOME=/home/agent
66
  WORKDIR /workspace
67
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
thosakwe--t2b.2e141c2/tests/Dockerfile CHANGED
@@ -72,3 +72,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
72
  COPY programgym_task.json /tests/programgym_task.json
73
  COPY blobs/ /tests/blobs/
74
  RUN chmod +x /tests/test.sh
 
 
72
  COPY programgym_task.json /tests/programgym_task.json
73
  COPY blobs/ /tests/blobs/
74
  RUN chmod +x /tests/test.sh
75
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
thu-pacman--geminigraph.170e7d3/environment/Dockerfile CHANGED
@@ -64,3 +64,4 @@ RUN mkdir -p /home/agent \
64
  && chmod 111 /workspace/executable
65
  ENV HOME=/home/agent
66
  WORKDIR /workspace
 
 
64
  && chmod 111 /workspace/executable
65
  ENV HOME=/home/agent
66
  WORKDIR /workspace
67
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
thu-pacman--geminigraph.170e7d3/tests/Dockerfile CHANGED
@@ -72,3 +72,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
72
  COPY programgym_task.json /tests/programgym_task.json
73
  COPY blobs/ /tests/blobs/
74
  RUN chmod +x /tests/test.sh
 
 
72
  COPY programgym_task.json /tests/programgym_task.json
73
  COPY blobs/ /tests/blobs/
74
  RUN chmod +x /tests/test.sh
75
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
thunlp--thulac.a4bb407/environment/Dockerfile CHANGED
@@ -64,3 +64,4 @@ RUN mkdir -p /home/agent \
64
  && chmod 111 /workspace/executable
65
  ENV HOME=/home/agent
66
  WORKDIR /workspace
 
 
64
  && chmod 111 /workspace/executable
65
  ENV HOME=/home/agent
66
  WORKDIR /workspace
67
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
thunlp--thulac.a4bb407/tests/Dockerfile CHANGED
@@ -72,3 +72,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
72
  COPY programgym_task.json /tests/programgym_task.json
73
  COPY blobs/ /tests/blobs/
74
  RUN chmod +x /tests/test.sh
 
 
72
  COPY programgym_task.json /tests/programgym_task.json
73
  COPY blobs/ /tests/blobs/
74
  RUN chmod +x /tests/test.sh
75
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
tidwall--gjson.rs.85124aa/environment/Dockerfile CHANGED
@@ -57,3 +57,4 @@ RUN mkdir -p /home/agent \
57
  && chmod 111 /workspace/executable
58
  ENV HOME=/home/agent
59
  WORKDIR /workspace
 
 
57
  && chmod 111 /workspace/executable
58
  ENV HOME=/home/agent
59
  WORKDIR /workspace
60
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
tidwall--gjson.rs.85124aa/tests/Dockerfile CHANGED
@@ -66,3 +66,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
66
  COPY programgym_task.json /tests/programgym_task.json
67
  COPY blobs/ /tests/blobs/
68
  RUN chmod +x /tests/test.sh
 
 
66
  COPY programgym_task.json /tests/programgym_task.json
67
  COPY blobs/ /tests/blobs/
68
  RUN chmod +x /tests/test.sh
69
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
tidwall--jj.ab3eb1e/environment/Dockerfile CHANGED
@@ -56,3 +56,4 @@ RUN mkdir -p /home/agent \
56
  && chmod 111 /workspace/executable
57
  ENV HOME=/home/agent
58
  WORKDIR /workspace
 
 
56
  && chmod 111 /workspace/executable
57
  ENV HOME=/home/agent
58
  WORKDIR /workspace
59
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
tidwall--jj.ab3eb1e/tests/Dockerfile CHANGED
@@ -64,3 +64,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
64
  COPY programgym_task.json /tests/programgym_task.json
65
  COPY blobs/ /tests/blobs/
66
  RUN chmod +x /tests/test.sh
 
 
64
  COPY programgym_task.json /tests/programgym_task.json
65
  COPY blobs/ /tests/blobs/
66
  RUN chmod +x /tests/test.sh
67
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
timetoogo--ff-proxy.8a71365/environment/Dockerfile CHANGED
@@ -54,3 +54,4 @@ RUN mkdir -p /home/agent \
54
  && chmod 111 /workspace/executable
55
  ENV HOME=/home/agent
56
  WORKDIR /workspace
 
 
54
  && chmod 111 /workspace/executable
55
  ENV HOME=/home/agent
56
  WORKDIR /workspace
57
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
timetoogo--ff-proxy.8a71365/tests/Dockerfile CHANGED
@@ -68,3 +68,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
68
  COPY programgym_task.json /tests/programgym_task.json
69
  COPY blobs/ /tests/blobs/
70
  RUN chmod +x /tests/test.sh
 
 
68
  COPY programgym_task.json /tests/programgym_task.json
69
  COPY blobs/ /tests/blobs/
70
  RUN chmod +x /tests/test.sh
71
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
timnn--cargo-lipo.341cee9/environment/Dockerfile CHANGED
@@ -57,3 +57,4 @@ RUN mkdir -p /home/agent \
57
  && chmod 111 /workspace/executable
58
  ENV HOME=/home/agent
59
  WORKDIR /workspace
 
 
57
  && chmod 111 /workspace/executable
58
  ENV HOME=/home/agent
59
  WORKDIR /workspace
60
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
timnn--cargo-lipo.341cee9/tests/Dockerfile CHANGED
@@ -66,3 +66,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
66
  COPY programgym_task.json /tests/programgym_task.json
67
  COPY blobs/ /tests/blobs/
68
  RUN chmod +x /tests/test.sh
 
 
66
  COPY programgym_task.json /tests/programgym_task.json
67
  COPY blobs/ /tests/blobs/
68
  RUN chmod +x /tests/test.sh
69
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
timothyye--glance.01d03db/environment/Dockerfile CHANGED
@@ -58,3 +58,4 @@ RUN mkdir -p /home/agent \
58
  && chmod 111 /workspace/executable
59
  ENV HOME=/home/agent
60
  WORKDIR /workspace
 
 
58
  && chmod 111 /workspace/executable
59
  ENV HOME=/home/agent
60
  WORKDIR /workspace
61
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
timothyye--glance.01d03db/tests/Dockerfile CHANGED
@@ -66,3 +66,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
66
  COPY programgym_task.json /tests/programgym_task.json
67
  COPY blobs/ /tests/blobs/
68
  RUN chmod +x /tests/test.sh
 
 
66
  COPY programgym_task.json /tests/programgym_task.json
67
  COPY blobs/ /tests/blobs/
68
  RUN chmod +x /tests/test.sh
69
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
timtadh--lexmachine.8eded60/environment/Dockerfile CHANGED
@@ -58,3 +58,4 @@ RUN mkdir -p /home/agent \
58
  && chmod 111 /workspace/executable
59
  ENV HOME=/home/agent
60
  WORKDIR /workspace
 
 
58
  && chmod 111 /workspace/executable
59
  ENV HOME=/home/agent
60
  WORKDIR /workspace
61
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
timtadh--lexmachine.8eded60/tests/Dockerfile CHANGED
@@ -66,3 +66,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
66
  COPY programgym_task.json /tests/programgym_task.json
67
  COPY blobs/ /tests/blobs/
68
  RUN chmod +x /tests/test.sh
 
 
66
  COPY programgym_task.json /tests/programgym_task.json
67
  COPY blobs/ /tests/blobs/
68
  RUN chmod +x /tests/test.sh
69
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
timvw--qv.20ceb44/environment/Dockerfile CHANGED
@@ -57,3 +57,4 @@ RUN mkdir -p /home/agent \
57
  && chmod 111 /workspace/executable
58
  ENV HOME=/home/agent
59
  WORKDIR /workspace
 
 
57
  && chmod 111 /workspace/executable
58
  ENV HOME=/home/agent
59
  WORKDIR /workspace
60
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
timvw--qv.20ceb44/tests/Dockerfile CHANGED
@@ -66,3 +66,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
66
  COPY programgym_task.json /tests/programgym_task.json
67
  COPY blobs/ /tests/blobs/
68
  RUN chmod +x /tests/test.sh
 
 
66
  COPY programgym_task.json /tests/programgym_task.json
67
  COPY blobs/ /tests/blobs/
68
  RUN chmod +x /tests/test.sh
69
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
tinganho--l10ns.7442cea/environment/Dockerfile CHANGED
@@ -64,3 +64,4 @@ RUN mkdir -p /home/agent \
64
  && chmod 111 /workspace/executable
65
  ENV HOME=/home/agent
66
  WORKDIR /workspace
 
 
64
  && chmod 111 /workspace/executable
65
  ENV HOME=/home/agent
66
  WORKDIR /workspace
67
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
tinganho--l10ns.7442cea/tests/Dockerfile CHANGED
@@ -72,3 +72,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
72
  COPY programgym_task.json /tests/programgym_task.json
73
  COPY blobs/ /tests/blobs/
74
  RUN chmod +x /tests/test.sh
 
 
72
  COPY programgym_task.json /tests/programgym_task.json
73
  COPY blobs/ /tests/blobs/
74
  RUN chmod +x /tests/test.sh
75
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
tinyalsa--tinyalsa.e43025b/environment/Dockerfile ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:22.04
2
+ ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
3
+ ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
4
+ ARG PROGRAMGYM_GOSUMDB="sum.golang.org"
5
+ ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
6
+ ARG PROGRAMGYM_NPM_STRICT_SSL="true"
7
+ ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
8
+ ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
9
+ ARG PROGRAMGYM_UV_INSECURE_HOST=""
10
+ ARG PROGRAMGYM_RUSTUP_DIST_SERVER="https://static.rust-lang.org"
11
+ ARG PROGRAMGYM_RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
12
+ ARG PROGRAMGYM_CARGO_INDEX="sparse+https://index.crates.io/"
13
+ ARG PROGRAMGYM_CARGO_NET_RETRY="10"
14
+ ARG PROGRAMGYM_CARGO_HTTP_TIMEOUT="600"
15
+ ARG PROGRAMGYM_CARGO_HTTP_MULTIPLEXING="false"
16
+ ARG PROGRAMGYM_MAVEN_MIRROR_URL=""
17
+ ARG PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=""
18
+ ARG PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL="https://services.gradle.org/distributions"
19
+ ARG PROGRAMGYM_JITPACK_REPOSITORY_URL="https://jitpack.io"
20
+ ENV GOPROXY=${PROGRAMGYM_GOPROXY}
21
+ ENV GOSUMDB=${PROGRAMGYM_GOSUMDB}
22
+ ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
23
+ ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
24
+ ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
25
+ ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
26
+ ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
27
+ ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
28
+ ENV RUSTUP_DIST_SERVER=${PROGRAMGYM_RUSTUP_DIST_SERVER}
29
+ ENV RUSTUP_UPDATE_ROOT=${PROGRAMGYM_RUSTUP_UPDATE_ROOT}
30
+ ENV CARGO_REGISTRIES_CRATES_IO_INDEX=${PROGRAMGYM_CARGO_INDEX}
31
+ ENV CARGO_NET_RETRY=${PROGRAMGYM_CARGO_NET_RETRY}
32
+ ENV CARGO_HTTP_TIMEOUT=${PROGRAMGYM_CARGO_HTTP_TIMEOUT}
33
+ ENV CARGO_HTTP_MULTIPLEXING=${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING}
34
+ ENV PROGRAMGYM_MAVEN_MIRROR_URL=${PROGRAMGYM_MAVEN_MIRROR_URL}
35
+ ENV PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}
36
+ ENV PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL=${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL}
37
+ ENV PROGRAMGYM_JITPACK_REPOSITORY_URL=${PROGRAMGYM_JITPACK_REPOSITORY_URL}
38
+ COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
39
+ RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
40
+ && /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
41
+ && rm -f /tmp/harbor_configure_apt_mirror.sh
42
+ COPY harbor_configure_java_mirrors.sh /tmp/harbor_configure_java_mirrors.sh
43
+ RUN chmod 0755 /tmp/harbor_configure_java_mirrors.sh \
44
+ && /bin/bash /tmp/harbor_configure_java_mirrors.sh "${PROGRAMGYM_MAVEN_MIRROR_URL}" "${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}" "${PROGRAMGYM_JITPACK_REPOSITORY_URL}" \
45
+ && rm -f /tmp/harbor_configure_java_mirrors.sh
46
+ ENV DEBIAN_FRONTEND=noninteractive
47
+ ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
48
+ ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
49
+ ENV GOTOOLCHAIN=auto
50
+ ENV UV_CACHE_DIR=/workspace/.cache/uv
51
+ ENV npm_config_cache=/workspace/.cache/npm
52
+ ENV HOME=/workspace
53
+ ENV XDG_CACHE_HOME=/workspace/.cache
54
+ ENV PIP_CACHE_DIR=/workspace/.cache/pip
55
+ ENV PYTHONUSERBASE=/workspace/.local
56
+ ENV PAGER=cat
57
+ ENV MANPAGER=cat
58
+ ENV LESS=-R
59
+ ENV TQDM_DISABLE=1
60
+ RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip python3-dev autoconf automake gettext file binutils libtool libncurses-dev meson ninja-build python3-pytest python3-pytest-xdist python3-coverage && rm -rf /var/lib/apt/lists/*
61
+ ARG CMAKE_VERSION=3.31.10
62
+ RUN set -eux; python3 -m pip install --no-cache-dir "cmake==${CMAKE_VERSION}"; cmake --version; ctest --version; cpack --version
63
+ # programgym_quota_aware_nproc=1
64
+ RUN set -eux; printf '%s\n' '#!/bin/sh' 'if [ "$#" -gt 0 ]; then exec /usr/bin/nproc "$@"; fi' 'visible="$(/usr/bin/nproc)"' 'quota=""' 'period=""' 'if [ -r /sys/fs/cgroup/cpu.max ]; then' ' set -- $(cat /sys/fs/cgroup/cpu.max)' ' quota="${1:-}"' ' period="${2:-}"' 'elif [ -r /sys/fs/cgroup/cpu/cpu.cfs_quota_us ] && [ -r /sys/fs/cgroup/cpu/cpu.cfs_period_us ]; then' ' quota="$(cat /sys/fs/cgroup/cpu/cpu.cfs_quota_us)"' ' period="$(cat /sys/fs/cgroup/cpu/cpu.cfs_period_us)"' fi 'if [ -n "$quota" ] && [ "$quota" != max ] && [ "$quota" -gt 0 ] 2>/dev/null && [ "$period" -gt 0 ] 2>/dev/null; then' ' limit=$(( (quota + period - 1) / period ))' ' if [ "$limit" -lt 1 ]; then limit=1; fi' ' if [ "$limit" -lt "$visible" ]; then visible="$limit"; fi' fi 'printf "%s\n" "$visible"' > /usr/local/bin/nproc; chmod 0755 /usr/local/bin/nproc; /usr/local/bin/nproc >/dev/null
65
+ WORKDIR /workspace
66
+ ADD workspace.tar.gz /workspace/
67
+ COPY executable /workspace/executable
68
+ COPY download.sh /workspace/download.sh
69
+ RUN chmod 755 /workspace/download.sh
70
+ COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
71
+ RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
72
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
73
+ && rm -f /workspace/download.sh \
74
+ && rm -f /tmp/harbor_prepare_download_env.sh
75
+ ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
76
+ RUN chmod 111 /workspace/executable
77
+ WORKDIR /workspace
78
+ # Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
79
+ # Keep tool/runtime state under /home/agent and reserve /workspace for the
80
+ # submission handed to the separate verifier. Keep the reference executable
81
+ # execute-only; the oracle temporarily restores owner read permission.
82
+ RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
83
+ RUN mkdir -p /home/agent \
84
+ && chown -R agent:agent /home/agent /workspace \
85
+ && chown agent:agent /workspace/executable \
86
+ && chmod 111 /workspace/executable
87
+ ENV HOME=/home/agent
88
+ WORKDIR /workspace
89
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
tinyalsa--tinyalsa.e43025b/environment/docker-compose.yaml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ services:
2
+ main:
3
+ build:
4
+ args:
5
+ PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
6
+ PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
7
+ PROGRAMGYM_GOSUMDB: ${PROGRAMGYM_GOSUMDB:-sum.golang.org}
8
+ PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
9
+ PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
10
+ PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
11
+ PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
12
+ PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
13
+ PROGRAMGYM_RUSTUP_DIST_SERVER: ${PROGRAMGYM_RUSTUP_DIST_SERVER:-https://static.rust-lang.org}
14
+ PROGRAMGYM_RUSTUP_UPDATE_ROOT: ${PROGRAMGYM_RUSTUP_UPDATE_ROOT:-https://static.rust-lang.org/rustup}
15
+ PROGRAMGYM_CARGO_INDEX: ${PROGRAMGYM_CARGO_INDEX:-sparse+https://index.crates.io/}
16
+ PROGRAMGYM_CARGO_NET_RETRY: ${PROGRAMGYM_CARGO_NET_RETRY:-10}
17
+ PROGRAMGYM_CARGO_HTTP_TIMEOUT: ${PROGRAMGYM_CARGO_HTTP_TIMEOUT:-600}
18
+ PROGRAMGYM_CARGO_HTTP_MULTIPLEXING: ${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING:-false}
19
+ PROGRAMGYM_MAVEN_MIRROR_URL: ${PROGRAMGYM_MAVEN_MIRROR_URL:-}
20
+ PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL: ${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL:-}
21
+ PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL: ${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-https://services.gradle.org/distributions}
22
+ PROGRAMGYM_JITPACK_REPOSITORY_URL: ${PROGRAMGYM_JITPACK_REPOSITORY_URL:-https://jitpack.io}