You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by GitBox <gi...@apache.org> on 2021/12/29 22:50:20 UTC

[GitHub] [orc] dongjoon-hyun commented on pull request #983: ORC-1070: Upgrade site docker image to use Ubuntu 20.04

dongjoon-hyun commented on pull request #983:
URL: https://github.com/apache/orc/pull/983#issuecomment-1002803289


   I tested this on Apple M1 Max laptop. It looks working. The generate pages look good to me. Thanks!
   ```
   $ docker build -t orc-site --no-cache .
   [+] Building 295.1s (17/17) FINISHED
    => [internal] load build definition from Dockerfile                                                                         0.4s
    => => transferring dockerfile: 1.43kB                                                                                       0.0s
    => [internal] load .dockerignore                                                                                            0.6s
    => => transferring context: 34B                                                                                             0.0s
    => [internal] load metadata for docker.io/library/ubuntu:20.04                                                              1.3s
    => [auth] library/ubuntu:pull token for registry-1.docker.io                                                                0.0s
    => CACHED [ 1/11] FROM docker.io/library/ubuntu:20.04@sha256:626ffe58f6e7566e00254b638eb7e0f3b11d4da9675088f4781a50ae288f3  0.0s
    => [internal] load build context                                                                                            0.4s
    => => transferring context: 112.83kB                                                                                        0.1s
    => [ 2/11] RUN ln -fs /usr/share/zoneinfo/America/Los_Angeles /etc/localtime                                                1.2s
    => [ 3/11] RUN apt-get update                                                                                               5.1s
    => [ 4/11] RUN apt-get install -y   g++   gcc   git   libssl-dev   libz-dev   make   ruby-dev   rubygems   tzdata         119.6s
    => [ 5/11] RUN gem install   bundler   liquid   listen   rouge                                                             15.5s
    => [ 6/11] RUN gem install jekyll -v 3.8.6                                                                                 18.9s
    => [ 7/11] RUN gem install github-pages                                                                                    65.8s
    => [ 8/11] RUN useradd -ms /bin/bash orc                                                                                    2.2s
    => [ 9/11] COPY . /home/orc/site                                                                                            0.9s
    => [10/11] RUN chown -R orc:orc /home/orc                                                                                  58.4s
    => [11/11] WORKDIR /home/orc/site                                                                                           0.8s
    => exporting to image                                                                                                       4.0s
    => => exporting layers                                                                                                      3.9s
    => => writing image sha256:7468918d2794a0810448cc2effa3e8795ec59e01d765cae7fab66bbc02eb1642                                 0.0s
    => => naming to docker.io/library/orc-site                                                                                  0.0s
   
   Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
   
   $ docker run -d --name orc-container -p 4000:4000 orc-site
   c90cf6d617efb77b0000620b597f42bb0ef47d18c15312fdb9c187b890a48277
   
   $ open http://localhost:4000
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@orc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org