File tree Expand file tree Collapse file tree 6 files changed +10
-32
lines changed Expand file tree Collapse file tree 6 files changed +10
-32
lines changed Original file line number Diff line number Diff line change 4
4
# an API wrapper for a collection of SMT solvers:
5
5
# https://github.com/sosy-lab/java-smt
6
6
#
7
- # SPDX-FileCopyrightText: 2021 Dirk Beyer <https://www.sosy-lab.org>
7
+ # SPDX-FileCopyrightText: 2025 Dirk Beyer <https://www.sosy-lab.org>
8
8
#
9
9
# SPDX-License-Identifier: Apache-2.0
10
10
11
- docker build -t registry.gitlab.com/sosy-lab/software/java-smt/develop:ubuntu1804 - < ubuntu1804.Dockerfile
11
+ podman build -t registry.gitlab.com/sosy-lab/software/java-smt/develop:ubuntu1804 - < ubuntu1804.Dockerfile
12
12
13
13
# For pushing to Gitlab registry, please create your personal access token:
14
14
# https://gitlab.com/-/user_settings/personal_access_tokens
15
15
# with read and write rights to the Gitlab registry (full API access is not required)
16
16
#
17
17
# Please use the following commands to push the build image to Gitlab:
18
- # docker login registry.gitlab.com
19
- # docker push registry.gitlab.com/sosy-lab/software/java-smt/develop:ubuntu1804
20
-
18
+ # podman login registry.gitlab.com
19
+ # podman push registry.gitlab.com/sosy-lab/software/java-smt/develop:ubuntu1804
Original file line number Diff line number Diff line change 4
4
# an API wrapper for a collection of SMT solvers:
5
5
# https://github.com/sosy-lab/java-smt
6
6
#
7
- # SPDX-FileCopyrightText: 2024 Dirk Beyer <https://www.sosy-lab.org>
7
+ # SPDX-FileCopyrightText: 2025 Dirk Beyer <https://www.sosy-lab.org>
8
8
#
9
9
# SPDX-License-Identifier: Apache-2.0
10
10
11
- docker build -t registry.gitlab.com/sosy-lab/software/java-smt/develop:ubuntu2204 - < ubuntu2204.Dockerfile
11
+ podman build -t registry.gitlab.com/sosy-lab/software/java-smt/develop:ubuntu2204 - < ubuntu2204.Dockerfile
12
12
13
13
# For pushing to Gitlab registry, please create your personal access token:
14
14
# https://gitlab.com/-/user_settings/personal_access_tokens
15
15
# with read and write rights to the Gitlab registry (full API access is not required)
16
16
#
17
17
# Please use the following commands to push the build image to Gitlab:
18
- # docker login registry.gitlab.com
19
- # docker push registry.gitlab.com/sosy-lab/software/java-smt/develop:ubuntu2204
20
-
18
+ # podman login registry.gitlab.com
19
+ # podman push registry.gitlab.com/sosy-lab/software/java-smt/develop:ubuntu2204
Original file line number Diff line number Diff line change 12
12
# JavaSMT and all solver files are located in the directory "workspace".
13
13
WORKSPACE=$HOME /workspace
14
14
15
- docker run -it \
15
+ podman run -it \
16
16
--mount type=bind,source=${WORKSPACE} ,target=/workspace \
17
17
--workdir /workspace/java-smt \
18
- --user $( id -u ${USER} ) :$( id -g ${USER} ) \
19
18
registry.gitlab.com/sosy-lab/software/java-smt/develop:ubuntu1804
Original file line number Diff line number Diff line change 12
12
# JavaSMT and all solver files are located in the directory "workspace".
13
13
WORKSPACE=$HOME /workspace
14
14
15
- docker run -it \
15
+ podman run -it \
16
16
--mount type=bind,source=${WORKSPACE} ,target=/workspace \
17
17
--workdir /workspace/java-smt \
18
- --user $( id -u ${USER} ) :$( id -g ${USER} ) \
19
18
registry.gitlab.com/sosy-lab/software/java-smt/develop:ubuntu2204
Original file line number Diff line number Diff line change @@ -67,14 +67,5 @@ RUN wget https://gmplib.org/download/gmp/gmp-6.2.1.tar.lz \
67
67
&& make install \
68
68
&& cd --
69
69
70
- # Add the user "developer" with UID:1000, GID:1000, home at /developer.
71
- # This allows to map the docker-internal user to the local user 1000:1000 outside of the container.
72
- # This avoids to have new files created with root-rights.
73
- RUN groupadd -r developer -g 1000 \
74
- && useradd -u 1000 -r -g developer -m -d /developer -s /sbin/nologin -c "JavaSMT Development User" developer \
75
- && chmod 755 /developer
76
-
77
- USER developer
78
-
79
70
# JNI is not found when compiling Boolector in the image, so we need to set JAVA_HOME
80
71
ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/
Original file line number Diff line number Diff line change @@ -79,14 +79,5 @@ RUN wget https://download.java.net/openjdk/jdk11/ri/openjdk-11+28_windows-x64_bi
79
79
&& unzip openjdk-11+28_windows-x64_bin.zip \
80
80
&& rm openjdk-11+28_windows-x64_bin.zip
81
81
82
- # Add the user "developer" with UID:1000, GID:1000, home at /developer.
83
- # This allows to map the docker-internal user to the local user 1000:1000 outside of the container.
84
- # This avoids to have new files created with root-rights.
85
- RUN groupadd -r developer -g 1000 \
86
- && useradd -u 1000 -r -g developer -m -d /developer -s /sbin/nologin -c "JavaSMT Development User" developer \
87
- && chmod 755 /developer
88
-
89
- USER developer
90
-
91
82
# JNI is not found when compiling Boolector in the image, so we need to set JAVA_HOME
92
83
ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/
You can’t perform that action at this time.
0 commit comments