|
@@ -1,7 +1,5 @@
|
|
FROM ubuntu:18.04
|
|
FROM ubuntu:18.04
|
|
|
|
|
|
-ARG USER_ID
|
|
|
|
-ARG GROUP_ID
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
# WARNING: DON'T PUT A SPACE AFTER ANY BACKSLASH OR APT WILL BREAK
|
|
# WARNING: DON'T PUT A SPACE AFTER ANY BACKSLASH OR APT WILL BREAK
|
|
# One -q produces output suitable for logging (mostly hides
|
|
# One -q produces output suitable for logging (mostly hides
|
|
@@ -31,9 +29,4 @@ RUN apt-get -yqq update && apt-get -yqq install \
|
|
|
|
|
|
ENV FWROOT=/FrameworkBenchmarks PYTHONPATH=/FrameworkBenchmarks
|
|
ENV FWROOT=/FrameworkBenchmarks PYTHONPATH=/FrameworkBenchmarks
|
|
|
|
|
|
-# Drop permissions of user to match those of the host system
|
|
|
|
-RUN addgroup --gid $GROUP_ID user
|
|
|
|
-RUN adduser --disabled-password --gecos '' --uid $USER_ID --gid $GROUP_ID user
|
|
|
|
-USER user
|
|
|
|
-
|
|
|
|
ENTRYPOINT ["python", "/FrameworkBenchmarks/toolset/run-tests.py"]
|
|
ENTRYPOINT ["python", "/FrameworkBenchmarks/toolset/run-tests.py"]
|