Skip to content

Commit 94466ee

Browse files
committed
Simplify Dockerfile RUN command
The upstream GitPython repository merged a change that set the executable bit on `container-environment-bootstrap.sh` in Git, so the `chmod` is no longer needed and the `RUN` instruction can execute the script directly. See: - gitpython-developers/GitPython#1903 - gitpython-developers/GitPython@b0a5b8e
1 parent ade3234 commit 94466ee

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

projects/gitpython/Dockerfile

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
FROM gcr.io/oss-fuzz-base/base-builder-python
15-
RUN git clone https://github.com/gitpython-developers/gitpython gitpython;
16-
RUN chmod +x $SRC/gitpython/fuzzing/oss-fuzz-scripts/container-environment-bootstrap.sh && \
17-
$SRC/gitpython/fuzzing/oss-fuzz-scripts/container-environment-bootstrap.sh;
15+
RUN git clone https://github.com/gitpython-developers/gitpython gitpython
16+
RUN $SRC/gitpython/fuzzing/oss-fuzz-scripts/container-environment-bootstrap.sh
1817

1918
COPY *.sh $SRC/
2019
WORKDIR $SRC/gitpython

0 commit comments

Comments
 (0)