You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2022/03/29 21:29:43 UTC

[GitHub] [solr] janhoy edited a comment on pull request #773: Fix official dockerfile sources and add build steps to RC message

janhoy edited a comment on pull request #773:
URL: https://github.com/apache/solr/pull/773#issuecomment-1082386897


   > Perhaps we should try to use env.vars to split it up some more?
   
   This works
   ```bash
   You can build a release-candidate of the official docker image using the following command:
   
   DIST_BASE=https://dist.apache.org/repos/dist/dev/solr && \
     RC_FOLDER=solr-9.0.0-RC1-rev-4ea6ecc35c0f6585c76e0713acfe917ccfe3b8cf && \
     docker build $DIST_BASE/$RC_FOLDER/solr/docker/Dockerfile.official \
     --build-arg SOLR_DOWNLOAD_URL=$DIST_BASE/$RC_FOLDER/solr/solr-9.0.0.tgz \
     -t solr-rc:9.0.0-1
   ```
   
   Template:
   ```
         DIST_BASE={{ dist_url_base }} && \
           RC_FOLDER={{ release_candidate_rc_folder }} && \
           docker build $DIST_BASE/$RC_FOLDER/solr/docker/Dockerfile.official \
           --build-arg SOLR_DOWNLOAD_URL=$DIST_BASE/$RC_FOLDER/solr/solr-{{ release_version }}.tgz \
           -t solr-rc:{{ release_version }}-{{ rc_number }}
   ```


-- 
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: issues-unsubscribe@solr.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org