Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Option 1 - Clone the WSO2 Dockerfiles repository

       Clone the WSO2 Dockerfiles repository and checkout the latest release tag. You can find the latest release tag in the releases page of WSO2 Dockerfiles repository.

    Code Block
    languagebash
    titleCloning from WSO2 Dockerfiles Repository
    isuru@isuru-ThinkPad:/tmp$ git clone https://github.com/wso2/dockerfiles.git
    Cloning into 'dockerfiles'...
    remote: Counting objects: 2396, done.
    remote: Compressing objects: 100% (114/114), done.
    remote: Total 2396 (delta 60), reused 0 (delta 0), pack-reused 2282
    Receiving objects: 100% (2396/2396), 293.95 KiB | 54.00 KiB/s, done.
    Resolving deltas: 100% (1674/1674), done.
    Checking connectivity... done.
    isuru@isuru-ThinkPad:/tmp$ cd dockerfiles/
    isuru@isuru-ThinkPad:/tmp/dockerfiles$ git checkout tags/v1.2.0 -b v1.2.0
    Switched to a new branch 'v1.2.0'
  • Option 2 - Download the release artifacts

      Download the archive that is relevant to the latest release from the releases page of the WSO2 Dockerfiles repository, and extract it.

    Code Block
    languagebash
    titleDownloading Released Dockerfiles Archive
    isuru@isuru-ThinkPad:/tmp$ wget https://github.com/wso2/dockerfiles/releases/download/v1.2.0/wso2-dockerfiles-1.2.0.zip
    isuru@isuru-ThinkPad:/tmp$ unzip wso2-dockerfiles-1.2.0.zip
    isuru@isuru-ThinkPad:/tmp$ cd wso2-dockerfiles-1.2.0
    

In the context of this page, the clone location of the repository or the extracted location of the Dockerfiles release archive will be referred to as <DOCKERFILES_HOME>.

...