Skip to content
Snippets Groups Projects
Commit ab41d2b5 authored by Jonas Leder's avatar Jonas Leder
Browse files

debugging

parent 0f7a120a
No related branches found
No related tags found
No related merge requests found
...@@ -92,19 +92,11 @@ def buildContainer(PHP_VERSION, ALPINE_VERSION, TESTING_REPO, PHP_SESSION): ...@@ -92,19 +92,11 @@ def buildContainer(PHP_VERSION, ALPINE_VERSION, TESTING_REPO, PHP_SESSION):
{ {
'name': 'docker', 'name': 'docker',
'path': '/var/run/docker.sock' 'path': '/var/run/docker.sock'
},
{
'name': 'certs',
'path': '/certs/client'
} }
], ],
'environment': {
'DOCKER_CERT_PATH': '/certs',
'DOCKER_HOST': 'tcp://docker:2376',
'DOCKER_TLS_VERIFY': '1'
},
'commands': [ 'commands': [
'source .env', 'source .env',
'ls -alh /var/run/docker.sock'
'docker context create build', 'docker context create build',
'docker buildx create build --use', 'docker buildx create build --use',
'docker build --platform linux/amd64,linux/arm,linux/arm64 --push --build-arg PHP_VERSION=' + PHP_VERSION + ' --build-arg ALPINE_VERSION=' + ALPINE_VERSION + ' --build-arg TESTING_REPO=' + str(TESTING_REPO) + ' --build-arg PHP_SESSION=' + str(PHP_SESSION) + ' -t $registry_image:$tag .' 'docker build --platform linux/amd64,linux/arm,linux/arm64 --push --build-arg PHP_VERSION=' + PHP_VERSION + ' --build-arg ALPINE_VERSION=' + ALPINE_VERSION + ' --build-arg TESTING_REPO=' + str(TESTING_REPO) + ' --build-arg PHP_SESSION=' + str(PHP_SESSION) + ' -t $registry_image:$tag .'
...@@ -123,10 +115,6 @@ def buildContainer(PHP_VERSION, ALPINE_VERSION, TESTING_REPO, PHP_SESSION): ...@@ -123,10 +115,6 @@ def buildContainer(PHP_VERSION, ALPINE_VERSION, TESTING_REPO, PHP_SESSION):
{ {
'name': 'docker', 'name': 'docker',
'path': '/var/run/docker.sock' 'path': '/var/run/docker.sock'
},
{
'name': 'certs',
'path': '/certs/client'
} }
] ]
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment