Skip to content

Commit

Permalink
[Terry N.] attempt adding USER root in order to run
Browse files Browse the repository at this point in the history
sysctl -w kernel.perf_event_paranoid=-1 for Vampire/z3
  • Loading branch information
git committed Jan 23, 2025
1 parent 77e2280 commit b303663
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
6 changes: 2 additions & 4 deletions docker/sigma-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ FROM tomcat:9.0.97-jdk21-temurin-jammy AS builder
# Followed instructions from: https://github.com/vprover/vampire/wiki/Source-Build-for-Users
# for buildling latest vampire w/ latest z3

RUN apt update; \
apt-get install -y --no-install-recommends \
RUN apt update && apt-get install -y --no-install-recommends \
build-essential \
cmake \
git \
python3 \
;\
python3 ;\
wget 'http://wwwlehre.dhbw-stuttgart.de/~sschulz/WORK/E_DOWNLOAD/V_2.6/E.tgz' &&\
tar xf E.tgz ;\
cd E ;\
Expand Down
10 changes: 8 additions & 2 deletions docker/sigmakee/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@ FROM $IMAGE_ACCOUNT/sigma-ci:latest AS builder
# runtime image.
FROM tomcat:9.0.97-jdk21-temurin-jammy AS runtime

RUN apt update; \
apt-get install -y --no-install-recommends \
# Switch to root user
USER root

RUN apt update && apt-get install -y --no-install-recommends \
sudo \
graphviz

# Set kernel parameter
RUN sysctl -w kernel.perf_event_paranoid=-1

COPY --from=builder \
/usr/local/bin/e_ltb_runner /usr/local/bin/e_ltb_runner

Expand Down
10 changes: 8 additions & 2 deletions docker/sumo-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@ FROM $IMAGE_ACCOUNT/sigma-ci:latest AS builder
# runtime image.
FROM tomcat:9.0.97-jdk21-temurin-jammy AS runtime

RUN apt update; \
apt-get install -y --no-install-recommends \
# Switch to root user
USER root

RUN apt update && apt-get install -y --no-install-recommends \
sudo \
graphviz

# Set kernel parameter
RUN sysctl -w kernel.perf_event_paranoid=-1

COPY --from=builder \
/usr/local/bin/e_ltb_runner /usr/local/bin/e_ltb_runner

Expand Down

0 comments on commit b303663

Please sign in to comment.