pmyjavec / horatio Goto Github PK
View Code? Open in Web Editor NEWHelps automate your Docker builds
License: MIT License
Helps automate your Docker builds
License: MIT License
I have a very simple Dockerfile
for testing.
$ cat Dockerfile
FROM alpine:3.4
ENV TIMEZONE=Australia/Sydney
$
horatio
fails as it takes a "/" in the image tag. I am experiencing this issue in ruby versions 2.2.2 and 2.3.0.
$ cat horatio.json
{
"name": "misc-project",
"version": "0.0.1"
}
$
$ horatio
I, [2016-09-14T15:22:52.506204 #32669] INFO -- : detected horatio.json
I, [2016-09-14T15:22:52.511924 #32669] INFO -- : Running Docker build for misc-project-0.0.1
I, [2016-09-14T15:22:52.511990 #32669] INFO -- : validating passed in version
I, [2016-09-14T15:22:52.512051 #32669] INFO -- : validating passed in name
I, [2016-09-14T15:22:52.516943 #32669] INFO -- : latest revision is a198e59
I, [2016-09-14T15:22:52.521409 #32669] INFO -- : executing command: docker build -t /misc-project:0.0.1-a198e59 .
F, [2016-09-14T15:22:52.645387 #32669] FATAL -- : execution of `docker build -t /misc-project:0.0.1-a198e59 .` failed output from STDERR was:
invalid argument "/misc-project:0.0.1-a198e59" for t: Error parsing reference: "/misc-project:0.0.1-a198e59" is not a valid repository/tag
See 'docker build --help'.
STDOUT was:
(RuntimeError)
/Users/vikas/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/horatio-0.1.7/lib/horatio.rb:55:in `run_sh'
/Users/vikas/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/horatio-0.1.7/lib/horatio/releaser.rb:35:in `run'
/Users/vikas/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/horatio-0.1.7/bin/horatio:29:in `<top (required)>'
/Users/vikas/.rbenv/versions/2.3.0/bin/horatio:23:in `load'
/Users/vikas/.rbenv/versions/2.3.0/bin/horatio:23:in `<main>'
$
maven.rb
Needs include NULLWritter
please
to avoid
[2020-11-29T07:44:56.502696 #7] FATAL -- : undefined method `increment' for #Horatio::Detector::Maven:0x0000560037ea9f60 (NoMethodError)
Namely:
module Horatio
module Detector
class Maven
include Validator
include IOHandler
include NULLWritter
in docker build i can pass args as --build-arg key=value ;
can i do the same using the horation command ? , please assist
Thanks ,
Nishank
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.