Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[rdf4j-dev] building docker images
  • From: "Bart Hanssens (BOSA)" <bart.hanssens@xxxxxxxxxxxx>
  • Date: Thu, 12 Nov 2020 22:21:08 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=bosa.fgov.be; dmarc=pass action=none header.from=bosa.fgov.be; dkim=pass header.d=bosa.fgov.be; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HyeQET5GnsXjB3Amqxra2YhyTJwLYjJhDJc0vuumdMs=; b=DMEJCAzPF4nfCO5vn5UtFBNUMPJa1/YpZ7jvrDep2cCUXbP0LxQAwxePTcKxIAZbT1K9vDoekGWFVM1QmEk3NoUGecYkHVX7O/rUNVrZkcHUJBZ1h0FAP5wIvCbSxrWb5C3VrVMJo6m2/niSTfo2JHzOf25ATjwdVtdlTaq9Dh0uIPWDVqOH/YValuYizTIQvLiIeng4+PgvApQibkQ+MiY+nJIDSoxlQtXW1nqtwI1IYAFHh5r7nVDmLJxudrCNTb+tZXP7PtHRyFJOkfsaxeUH11UMaQjD5pK7MFUHZEtYrMC4Wo+R6q2PVOQxBTGRatuc+t5wTdwXZvibLHMtSA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IVMnLc2Jmg/RIQ6Nq6N9Yv2iihy1J1xU/V7acM53VCOfIa53cwiBmg4dmsWye9bZXo6rQcmOLQx0KTPemE/Mo9GG2jYBmeRGMj13Qrc0hcLTluQehudaxEYSOp+Pv7k+mKzmC25p73hFciVTlDP+n+2vWSjv5VZK1J6KvBEKIV0f+xVntbHChk3+0l0/9/D7fSgjncesLcMqiTJvhtGi2DptX4XLVM8WVfT56KPeuCAiA/wjTA4qNXg3Ld+rF5oXsn7rbk2HapZ3sBmslDrezKkBNO/XcWIZke2n8iDRYA5A6JB6LGipTYys7+QpUnmywwkwP/zUNRDD1MEqreJt1A==
  • Delivered-to: rdf4j-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/rdf4j-dev>
  • List-help: <mailto:rdf4j-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/rdf4j-dev>, <mailto:rdf4j-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/rdf4j-dev>, <mailto:rdf4j-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: Ada5PxSH+3V4Zi9cTky8dxal3q0MVQ==
  • Thread-topic: building docker images

Hi Jeen (and others),

 

 

As follow-up to GH-2374 docker 😊

 

Building the docker images is straightforward: just wait for a new release, and use the build files in assembly/src/main/dist/docker

E.g , ‘cd’ to that directory and run (don’t forget the dot at the end of the line)

 

  docker build --build-arg VERSION=3.4.4 --file Dockerfile.amd64 --tag eclipse/rdf4j-workbench:amd64-3.4.4 .

  docker build --build-arg VERSION=3.4.4 --file Dockerfile.amd64 --tag eclipse/rdf4j-workbench:amd64-latest .

 

Building the ARM-images on x86 (or vice versa) can be done after installing some additional qemu packages, e.g. for Ubuntu

 

  apt-get install qemu binfmt-support qemu-user-static    # Install the qemu packages

  docker run --rm --privileged multiarch/qemu-user-static --reset -p yes    # This step will execute the registering scripts

 

(see also https://www.stereolabs.com/docs/docker/building-arm-container-on-x86/)

After that, it’s just the same command with a different docker file

 

  docker build --build-arg VERSION=3.4.4 --file Dockerfile.arm64v8 --tag eclipse/rdf4j-workbench:arm64v8-3.4.4 .

  docker build --build-arg VERSION=3.4.4 --file Dockerfile.arm64v8 --tag eclipse/rdf4j-workbench:arm64v8-latest .

 

Pushing to hub.docker.com is a bit trickier, you’ll need to ask the Eclipse PMC to add your docker.com account to the Eclipse organization.

After that, it’s just

 

  docker login

  docker push eclipse/rdf4j-workbench:arm64v8-latest

  …

 

 

Best regards,

 

Bart Hanssens

 


Back to the top