introduce the new docker image build

This commit is contained in:
jem 2020-04-18 11:42:24 +02:00
parent 064c2d2766
commit 3f2ec114d4
3 changed files with 4 additions and 1 deletions

View file

@ -28,7 +28,7 @@ use_plugin("python.distutils")
default_task = "publish"
name = "ddadevops"
version = "0.6.0.dev6"
version = "0.6.0.dev9"
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
description = __doc__
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]

View file

@ -2,6 +2,7 @@ from subprocess import run
from .python_util import filter_none
from pkg_resources import *
from .devops_terraform_build import DevopsBuild, create_devops_build_config
import sys
def create_devops_docker_build_config(stage,
@ -40,6 +41,7 @@ class DevopsDockerBuild(DevopsBuild):
return '/'.join(filter_none(mylist)) + '/'
def copy_build_resource_file_from_package(self, name):
run('mkdir -p ' + self.build_path(), shell=True)
my_data = resource_string(
__name__, "src/main/resources/docker/" + name)
with open(self.build_path() + '/' + name, "w") as output_file:

View file

@ -5,6 +5,7 @@ from pkg_resources import *
from python_terraform import *
from .python_util import filter_none
from .devops_build import DevopsBuild, create_devops_build_config
import sys
def create_devops_terraform_build_config(stage,