Dockerlint on Openshift

Petr Hracek phracek at redhat.com
Thu Apr 9 08:09:36 UTC 2015


On 04/09/2015 10:05 AM, Tomas Tomecek wrote:
> Quoting Petr Hracek (2015-04-07 13:47:15)
>> Hi folks,
>>
>> I have tried to clone dockerlint
>> (https://github.com/projectatomic/dockerfile_lint) to OpenShift
>> http://docker-phracek.rhcloud.com/
>>
>> But it still returns HTTP 503.
> I don't follow here. AFAIK dockerfile_lint doesn't have any web interface. It's
> just a command line tool.
>
> Creating a simple webinterface should be super easy: one form with input, and a
> place with the actual output.
Upps. My fault. I have forgot. I thought that dockerfile_lint contains a 
simple web interface too.
>
> Here's the linter in action on Customer Portal:
>
> https://access.redhat.com/labs/linterfordockerfile/
>
>
>> dockerfile_lint command works fine with pretty simple DockerFile. I have
>> checked a DockerFile and it passed.
>> [docker-phracek.rhcloud.com 54f987584382ec3f840000f5]\> cat
>> nodejs/conf/DockerFiles
>> FROM fedora:21
>> RUN yum install httpd -y
>>
>> CMD ["ps -ef | grep http"]
>>
>> [docker-phracek.rhcloud.com 54f987584382ec3f840000f5]\> dockerfile_lint
>> -f nodejs/conf/DockerFiles
>> Check passed!
> That's interesting. There is no MAINTAINER instruction -- should definitely
> produce a warning.
>
>
> Tomas
>


-- 
Petr Hracek
Software Engineer
Developer Experience
Red Hat, Inc
Mob: +420777056169
email: phracek at redhat.com



More information about the env-and-stacks mailing list