Skip to content

Commit ab15659

Browse files
authored
Fix niggling Docker issues (#811)
1 parent 9959376 commit ab15659

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

.dockerignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# Ignore this in case the user previously did a "pip install -e ."
16+
qsimcirq.egg-info

install/tests/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ COPY ./qsimcirq_tests/ /test-install/
3636

3737
# Run the tests from that location.
3838
WORKDIR /test-install/
39-
ENTRYPOINT python3 -m pytest ./
39+
ENTRYPOINT ["python3", "-m", "pytest", "./"]

pybind_interface/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ WORKDIR /qsim/
1212
RUN make -C /qsim/ pybind
1313

1414
# Compile and run qsim tests
15-
ENTRYPOINT make -C /qsim/ run-py-tests
15+
ENTRYPOINT ["make", "-C", "/qsim/", "run-py-tests"]

tests/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ COPY ./tests/ /qsim/tests/
77
WORKDIR /qsim/
88

99
# Compile and run qsim tests
10-
ENTRYPOINT make -C /qsim/ run-cxx-tests
10+
ENTRYPOINT ["make", "-C", "/qsim/", "run-cxx-tests"]

0 commit comments

Comments
 (0)