How to build docker image from github repository

后端 未结 3 1330
囚心锁ツ
囚心锁ツ 2021-01-31 08:24

In official docs we can see:

# docker build github.com/creack/docker-firefox

It just works fine to me. docker-firefox is a reposit

3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-31 09:12

    One can use the following example which sets up a Centos 7 container for testing ORC file format. Make sure to escape the # sign:

    $ docker build https://github.com/apache/orc.git\#:docker/centos7 -t orc-centos7

提交回复
热议问题