Skip to content

Commit

Permalink
Override Docker ENTRYPOINT for script to work normally
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpovel committed Oct 7, 2020
1 parent b493776 commit 0a90b38
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .gitlab-ci.yml
@@ -1,7 +1,12 @@
# Applies to all jobs, can be overridden in each
default:
# Image from dockerhub per default. Specify full path to use a different image.
image: alexpovel/latex
image:
# Image from dockerhub per default. Specify full path to use a different image.
name: alexpovel/latex
# Override any entrypoint back to a naked shell so that job `script`s can be
# executed normally.
# See also: https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#overriding-the-entrypoint-of-an-image
entrypoint: [ "" ]
# `retry` tries to fix this notorious issue
# (ERROR: Job failed (system failure): Error: No such container: <container_id>):
# https://gitlab.com/gitlab-org/gitlab-runner/-/issues/4450
Expand Down

0 comments on commit 0a90b38

Please sign in to comment.