Remove unnecessary docker-in-docker
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
We're now launching new build servers, so security is less of a concern. Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
parent
3abec884c2
commit
78049cf7b6
|
@ -19,7 +19,7 @@ local add_build_steps() = [
|
||||||
volumes: [
|
volumes: [
|
||||||
{
|
{
|
||||||
name: 'dockersock',
|
name: 'dockersock',
|
||||||
path: '/var/run',
|
path: '/var/run/docker.sock',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
commands: [
|
commands: [
|
||||||
|
@ -29,7 +29,7 @@ local add_build_steps() = [
|
||||||
'rm -rf target/' + arch.target + '/release/*',
|
'rm -rf target/' + arch.target + '/release/*',
|
||||||
],
|
],
|
||||||
environment: {
|
environment: {
|
||||||
CROSS_REMOTE: true,
|
CROSS_DOCKER_IN_DOCKER: true,
|
||||||
},
|
},
|
||||||
depends_on: ['Wait for Docker'],
|
depends_on: ['Wait for Docker'],
|
||||||
}
|
}
|
||||||
|
@ -57,11 +57,11 @@ local add_build_steps() = [
|
||||||
'docker pull hello-world:latest',
|
'docker pull hello-world:latest',
|
||||||
],
|
],
|
||||||
environment: {
|
environment: {
|
||||||
CROSS_REMOTE: true,
|
CROSS_DOCKER_IN_DOCKER: true,
|
||||||
},
|
},
|
||||||
volumes: [{
|
volumes: [{
|
||||||
name: 'dockersock',
|
name: 'dockersock',
|
||||||
path: '/var/run',
|
path: '/var/run/docker.sock',
|
||||||
}],
|
}],
|
||||||
}] +
|
}] +
|
||||||
add_build_steps() +
|
add_build_steps() +
|
||||||
|
@ -92,26 +92,12 @@ local add_build_steps() = [
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
services: [{
|
|
||||||
name: 'docker',
|
|
||||||
image: 'docker:dind',
|
|
||||||
privileged: true,
|
|
||||||
volumes: [
|
|
||||||
{
|
|
||||||
name: 'dockersock',
|
|
||||||
path: '/var/run',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'docker-storage',
|
|
||||||
path: '/var/lib/docker',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}],
|
|
||||||
|
|
||||||
volumes: [
|
volumes: [
|
||||||
{
|
{
|
||||||
name: 'dockersock',
|
name: 'dockersock',
|
||||||
temp: {},
|
host: {
|
||||||
|
path: '/var/run/docker.sock',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue