teamhephy / dockerbuilder Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
From @kwent on March 20, 2017 17:47
Would be nice to be able to use cache_from
attribute somehow to do more some cache resolution.
Cf. https://docker-py.readthedocs.io/en/stable/images.html
Copied from original issue: deis/dockerbuilder#119
From @arschles on March 16, 2016 19:53
Copied from original issue: deis/dockerbuilder#37
From @bacongobbler on March 16, 2016 19:0
The test target in the Makefile currently does nothing other than display that this project needs tests. This is an official request to add integration tests.
Copied from original issue: deis/dockerbuilder#36
The binary for object-store-cli pointed at https://github.com/teamhephy/dockerbuilder/blob/master/rootfs/Dockerfile#L34 is not the same one that the main branch at https://github.com/teamhephy/object-storage-cli produces.
The immediate issue we observed with it is that AWS regions added by teamhephy/object-storage-cli#2 and related PRs still can not be used by dockerbuilder.
From @smothiki on March 8, 2016 23:42
because of beta crunch time we haven;t explored enough options to use a go cli based client to build docker images and PUSH to remote registry.
Also moving a head in the future we have to support multiple object storage backends.
Also add support to talk to remote docker deamon along with mounting docker socker
Copied from original issue: deis/dockerbuilder#31
Provide guides and instructions on how to update a cluster's Docker version so that the Dockerbuilder component can use multi-stage builds:
https://docs.docker.com/develop/develop-images/multistage-build/
In https://github.com/deis/builder/blob/master/pkg/gitreceive/k8s_util.go
"this is the code that sets up the environment to run a deis/dockerbuilder pod. Then it hands off control essentially to a dockerbuilder image, and it calls Docker through a python client from https://github.com/deis/dockerbuilder/blob/master/rootfs/deploy.py
Maybe in that code you could at least detect if the Docker version was >= 17.05 and give a warning or disallow multi-stage builds. Or maybe Docker would already handle that for you."
Hephy Builder fails to store the Docker image it has just built with the message below:
Writing objects: 100% (4/4), 356 bytes | 0 bytes/s, done.
Total 4 (delta 3), reused 0 (delta 0)
Starting build... but first, coffee\!
2020/09/29 15:22:49 InvalidAccessKeyId: The AWS Access Key Id you provided does not exist in our records.
remote: status code: 403, request id: 579ED5F7E401E3FC, host id: R+lwtdSuUO8clv3fDGrKW0V9IR8ZjnpeD17zcZ/1x5nF8ny9gDK4JIxTT3NPmB2vrfFy9b3tCwo=
Traceback (most recent call last):
File "/deploy.py", line 89, in <module>
download_file(tar_path)
File "/deploy.py", line 83, in download_file
subprocess.check_call(command)
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '\['objstorage', '--storage-type=s3', 'download', 'home/ilias-custom-metrics-app:git-0f96a9da/tar', 'apptar']' returned non-zero exit status 1
remote: 2020/09/29 15:22:55 Error running git receive hook \[Build pod exited with code 1, stopping build.]
Steps to reproduce:
git push deis
From @miracle2k on May 9, 2017 7:9
I think it might be a good idea to not inject the ARGs in newer Docker versions. For me, each ARG statement takes about 2 seconds to run (Running on Azure). With a bunch of config vars defined, this extends the build time by minutes for me.
As an aside I do wonder why the ARG takes so long when running on my Deis install. Building the Dockerfile directly is super fast. Is this a disk-bound operation?
Copied from original issue: deis/dockerbuilder#123
From @pixeleet on August 15, 2016 10:26
As a Developer using the Deis platfrom I'd like to have pre/post compile hooks available for dockerfile based builds too, so I can execute checks that my services required for tests are alive and execute tests after an image has been made. Thus making my flow more CI/CD enabled.
Copied from original issue: deis/dockerbuilder#89
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.