Thanks! That is exactly what we're looking at, and with the newer docker ce we should be able to put the arch into a variable in the FROM line and have only 1 dockerfile.
Regards, Mark Mark Beierl SW System Sr Principal Engineer Dell EMC | Office of the CTO mobile +1 613 314 8106<tel:1-613-314-8106> mark.bei...@dell.com<mailto:mark.bei...@dell.com> On Aug 3, 2017, at 17:00, Alexandru Avadanii <alexandru.avada...@enea.com<mailto:alexandru.avada...@enea.com>> wrote: Hi, It looks like 17.06 CE is not officially out for ARMV8 yet, but there is a test binary at [1]. To use it with apt: „deb [arch=arm64] https://download.docker.com/linux/ubuntu/ xenial test” $ sudo apt-get install docker-ce You can always try building from sources, but you might run into unexpected issues. Btw, for Alpine/Ubuntu AArch64 docker base images, check out [2]. Alex [1] https://download.docker.com/linux/ubuntu/dists/xenial/pool/test/arm64/ [2] https://hub.docker.com/u/arm64v8/ (used to be https://hub.docker.com/u/aarch64) From: Beierl, Mark [mailto:mark.bei...@dell.com] Sent: Thursday, August 03, 2017 11:43 PM To: Alexandru Avadanii; Taseer Ahmed Cc: Bob Monkman; opnfv-tech-discuss@lists.opnfv.org<mailto:opnfv-tech-discuss@lists.opnfv.org>; Alexandru Nemes Subject: Re: [opnfv-tech-discuss] [armband] Resource for development or testing Hello, I think the docker version is too old for the build and docker-compose that I am using in StorPerf. We currently require docker ce 17.06 to do multi-stage builds. I have looped in Taseer (cc) as he is the one who has access to the Cavium ARM server. Regards, Mark Mark Beierl SW System Sr Principal Engineer Dell EMC | Office of the CTO mobile +1 613 314 8106<tel:1-613-314-8106> mark.bei...@dell.com<mailto:mark.bei...@dell.com> On Aug 3, 2017, at 16:28, Alexandru Avadanii <alexandru.avada...@enea.com<mailto:alexandru.avada...@enea.com>> wrote: Hi, Mark, armhf won’t work, that is ARMv7, while we target ARMv8 (aarch64). The appropiate arch qualifier would be (for a Debian system like Ubuntu): [arch=arm64] But unless you are trying to do something extremely specific, that should not be needed, stock Ubuntu 16.04 already has a working docker for AArch64. Btw, we are already building a few AArch64 Docker images, for functest [1], dovetail [2], soon yardstick etc. The releng bit handling AArch64 can be found at [3] and works like this: - If DOCKERFILE parameter is passed to build job (in format „Dockerfile.aarch64” usually) and the file exists in the git repo, it will be used instead of default „Dockerfile”; - If DOCKERFILE parameter is passed (same „Dockerfile.aarch64”), but it doesn’t exist, releng will look for „Dockerfile.aarch64.patch”, apply that on top of „Dockerfile”, then use it; The builder machine handling [2] and [3] is arm-build3 [4], an AArch64 VM on a ThunderX node. It runs Ubuntu Xenial (16.04.2), and docker was installed from Ubuntu repos using apt (no custom repository was necessary afaik). CC’in Alex Nemes from our side, as he recently worked on this and might have things fresh in his memory for further queries. BR, Alex [1] https://build.opnfv.org/ci/view/functest/job/functest-docker-build-arm-push-master/ [2] https://build.opnfv.org/ci/job/dovetail-docker-build-arm-push-master/ [3] https://github.com/opnfv/releng/blob/master/jjb/releng/opnfv-docker.sh#L58-L71 [4] https://build.opnfv.org/ci/computer/arm-build3/builds From: opnfv-tech-discuss-boun...@lists.opnfv.org<mailto:opnfv-tech-discuss-boun...@lists.opnfv.org> [mailto:opnfv-tech-discuss-boun...@lists.opnfv.org] On Behalf Of Bob Monkman Sent: Thursday, August 03, 2017 11:11 PM To: Beierl, Mark Cc: Måns Söderberg; opnfv-tech-discuss@lists.opnfv.org<mailto:opnfv-tech-discuss@lists.opnfv.org> Subject: Re: [opnfv-tech-discuss] [armband] Resource for development or testing Mark, I am sorry that am not close to the technical mechanisms by which this works. I have directly copied a couple of Armbanders to see if they can provide a quick answer. The caveat is that a number of developers may be on holiday and the remaining team is pressed trying to create bare metal deploys for MCP with the new MS5 just 8 days away. Sorry, bad timing but let’s see if something can be provided for a pointer. Bob Robert (Bob) Monkman Networking Software Strategy & Ecosystem Programs ARM 150 Rose Orchard Way San Jose, Ca 95134 M: +1.510.676.5490 Skype: robert.monkman From: Beierl, Mark [mailto:mark.bei...@dell.com] Sent: Thursday, August 3, 2017 1:03 PM To: Beierl, Mark <mark.bei...@dell.com<mailto:mark.bei...@dell.com>> Cc: Bob Monkman <bob.monk...@arm.com<mailto:bob.monk...@arm.com>>; Måns Söderberg <mans.soderb...@enea.com<mailto:mans.soderb...@enea.com>>; opnfv-tech-discuss@lists.opnfv.org<mailto:opnfv-tech-discuss@lists.opnfv.org> Subject: Re: [opnfv-tech-discuss] [armband] Resource for development or testing Hello, again, Bob. Is Armband running Ubuntu on the servers? How did you get docker on there to run Functest? We have access to a Cavium ARM based server and I want to make sure we are running the correct architecture. I see instructions [1] that say to use [arch=armhf]. Will that work? [1] https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#install-using-the-repository Regards, Mark Mark Beierl SW System Sr Principal Engineer Dell EMC | Office of the CTO mobile +1 613 314 8106<tel:1-613-314-8106> mark.bei...@dell.com<mailto:mark.bei...@dell.com> On Jul 28, 2017, at 09:41, Beierl, Mark <mark.bei...@dell.com<mailto:mark.bei...@dell.com>> wrote: Thanks very much, Bob. I should not need any cycles for help. I'm not looking at a test run or developing new functionality. All I really need to do is verify the docker build process and that the packages StorPerf depends on are available in the Alpine docker base. So, more of a packaging exercise if that is a good way to describe it? This is not an immediate activity, so no rush :) Regards, Mark Mark Beierl SW System Sr Principal Engineer Dell EMC | Office of the CTO mobile +1 613 314 8106<tel:1-613-314-8106> mark.bei...@dell.com<mailto:mark.bei...@dell.com> On Jul 27, 2017, at 21:13, Bob Monkman <bob.monk...@arm.com<mailto:bob.monk...@arm.com>> wrote: Thanks, Mark, I think the Armband team can help here. We have no cycles to help too much but we apparently have a small and full pod available (latter for a short time only) and we would need to see if we can get some Pharos credentials for you. I have copied Mans who recently provided me with a set of VPN credentials. Or maybe Alex has a difference suggestion. Bob Robert (Bob) Monkman Networking Software Strategy & Ecosystem Programs ARM 150 Rose Orchard Way San Jose, Ca 95134 M: +1.510.676.5490 Skype: robert.monkman From: Beierl, Mark [mailto:mark.bei...@dell.com] Sent: Thursday, July 27, 2017 6:07 PM To: Bob Monkman <bob.monk...@arm.com<mailto:bob.monk...@arm.com>> Cc: David McBride <dmcbr...@linuxfoundation.org<mailto:dmcbr...@linuxfoundation.org>>; Alexandru Avadanii <alexandru.avada...@enea.com<mailto:alexandru.avada...@enea.com>>; Cristina Pauna <cristina.pa...@enea.com<mailto:cristina.pa...@enea.com>>; opnfv-tech-discuss@lists.opnfv.org<mailto:opnfv-tech-discuss@lists.opnfv.org> Subject: Re: [opnfv-tech-discuss] [armband] Resource for development or testing Hello, My hope was to test the docker build for Euphrates. I don't need a dedicated pod, in fact, just being able to spin up the image and point it to an OPNFV installation for a quick Cinder quota query would be good enough. Is there anything I can piggy back onto? Regards, Mark Mark Beierl SW System Sr Principal Engineer Dell EMC | Office of the CTO mobile +1 613 314 8106<tel:1-613-314-8106> mark.bei...@dell.com<mailto:mark.bei...@dell.com> On Jul 27, 2017, at 19:31, Bob Monkman <bob.monk...@arm.com<mailto:bob.monk...@arm.com>> wrote: Thanks Dave, I did see this and, thanks to Mark for bringing this to our attention. We have had our head down on MS5 for Euphrates and the labs in Sweden are a bit light on manpower given July holiday for most folks. Mark, Are you seeking to get this in for Euphrates? I will check into but most pods are allocated to E-release development and CI, plus other clients working projects. Some of our other ecosystem partners may be able to help. Regards, bob Robert (Bob) Monkman Networking Software Strategy & Ecosystem Programs ARM 150 Rose Orchard Way San Jose, Ca 95134 M: +1.510.676.5490 Skype: robert.monkman From: David McBride [mailto:dmcbr...@linuxfoundation.org] Sent: Thursday, July 27, 2017 3:31 PM To: Alexandru Avadanii <alexandru.avada...@enea.com<mailto:alexandru.avada...@enea.com>>; Beierl, Mark <mark.bei...@dell.com<mailto:mark.bei...@dell.com>>; Bob Monkman <bob.monk...@arm.com<mailto:bob.monk...@arm.com>>; Cristina Pauna <cristina.pa...@enea.com<mailto:cristina.pa...@enea.com>>; opnfv-tech-discuss@lists.opnfv.org<mailto:opnfv-tech-discuss@lists.opnfv.org> Subject: Re: [opnfv-tech-discuss] [armband] Resource for development or testing +Bob, Alex, Cristina On Wed, Jul 26, 2017 at 8:25 AM Beierl, Mark <mark.bei...@dell.com<mailto:mark.bei...@dell.com>> wrote: Hello, team! As StorPerf is published as a Docker container, and after looking at Functest, I realized that StorPerf not run natively on ARM. I need to create ARM based images, and therefore would like to ask if there is any pod or resources that have an existing OPNFV installation on them where I can run StorPerf for validation testing? Please let me know if this is something your team can provide. Regards, Mark Mark Beierl SW System Sr Principal Engineer Dell EMC | Office of the CTO mobile +1 613 314 8106<tel:1-613-314-8106> mark.bei...@dell.com<mailto:mark.bei...@dell.com> _______________________________________________ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org<mailto:opnfv-tech-discuss@lists.opnfv.org> https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss -- David McBride Release Manager, OPNFV Mobile: +1.805.276.8018 Email/Google Talk: dmcbr...@linuxfoundation.org<mailto:dmcbr...@linuxfoundation.org> Skype: davidjmcbride1 IRC: dmcbride IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org<mailto:opnfv-tech-discuss@lists.opnfv.org> https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
_______________________________________________ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss