Thank you very much :) I understand.
I have just "docker-compose build" on an Intel Server I have: it works :) Thank you all very much, you have helped me a lot, and I've learnt a lot of things about docker-compose, Òscar Esteve Missatge de A Stanley <[email protected]> del dia dl., 6 de maig 2019 a les 22:10: > It looks like gdal-dev and geos-dev are only available for x86 :( > > https://pkgs.alpinelinux.org/packages?name=gdal-dev&branch=edge > > On Mon, May 6, 2019 at 3:43 PM Oscar Esteve <[email protected]> wrote: > >> Hello. >> >> Much better but I have an ERROR building "dashboard". >> *****FIRST ATTEMPT***** >> Building dashboard >> Step 1/38 : FROM python:3.7-alpine AS BASE >> 3.7-alpine: Pulling from library/python >> Digest: >> sha256:ef431c6357f42a8507e01584038d5bda38f01664678e5737d3ba05afcf70133d >> Status: Image is up to date for python:3.7-alpine >> ---> 14c42b351a64 >> Step 2/38 : WORKDIR /opt/openwisp >> ---> Using cache >> ---> f07dfd8da064 >> Step 3/38 : RUN apk add --update --no-cache build-base libffi-dev >> openssl-dev postgresql-dev python3-dev zlib-dev jpeg-dev musl-dev gettext >> linux-headers git --repository >> http://dl-cdn.alpinelinux.org/alpine/edge/testing gdal-dev geos-dev >> ---> Running in 789501417acd >> fetch >> http://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz >> fetch >> http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz >> fetch >> http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz >> ERROR: unsatisfiable constraints: >> gdal-dev (missing): >> required by: world[gdal-dev] >> geos-dev (missing): >> required by: world[geos-dev] >> ERROR: Service 'dashboard' failed to build: The command '/bin/sh -c apk >> add --update --no-cache build-base libffi-dev openssl-dev postgresql-dev >> python3-dev zlib-dev jpeg-dev musl-dev gettext linux-headers git >> --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing gdal-dev >> geos-dev' returned a non-zero code: 2 >> **********second attempt********** >> Successfully built f107dd577522 >> Successfully tagged atb00ker/ready-to-run:openwisp-topology >> Building controller >> Step 1/35 : FROM python:3.7-alpine AS BASE >> 3.7-alpine: Pulling from library/python >> Digest: >> sha256:ef431c6357f42a8507e01584038d5bda38f01664678e5737d3ba05afcf70133d >> Status: Image is up to date for python:3.7-alpine >> ---> 14c42b351a64 >> Step 2/35 : WORKDIR /opt/openwisp >> ---> Using cache >> ---> fd060497e5b8 >> Step 3/35 : RUN apk add --update --no-cache build-base libffi-dev >> openssl-dev postgresql-dev gettext linux-headers python3-dev zlib-dev >> jpeg-dev musl-dev git --repository >> http://dl-cdn.alpinelinux.org/alpine/edge/testing gdal-dev geos-dev >> ---> Running in 35685fa472e4 >> fetch >> http://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz >> fetch >> http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz >> fetch >> http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz >> ERROR: unsatisfiable constraints: >> gdal-dev (missing): >> required by: world[gdal-dev] >> geos-dev (missing): >> required by: world[geos-dev] >> ERROR: Service 'controller' failed to build: The command '/bin/sh -c apk >> add --update --no-cache build-base libffi-dev openssl-dev postgresql-dev >> gettext linux-headers python3-dev zlib-dev jpeg-dev musl-dev git >> --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing gdal-dev >> geos-dev' returned a non-zero code: 2 >> ******* >> Some ideas? >> >> Thank you very much, >> Oscar >> >> Missatge de A Stanley <[email protected]> del dia dl., 6 de maig 2019 >> a les 19:37: >> >>> Don't add the '.' Just use 'docker-compose build' or 'docker-compose >>> build --pull' >>> >>> On Mon, May 6, 2019 at 1:19 PM Oscar Esteve <[email protected]> wrote: >>> >>>> Hello. >>>> >>>> Yews, I'm using docker-compose. >>>> >>>> If I try: >>>> root@MyServer:~/dockerize-openwisp# docker-compose build . >>>> WARNING: Some services (controller, dashboard, nginx, postgres, radius, >>>> redis, topology) use the 'deploy' key, which will be ignored. Compose does >>>> not support 'deploy' configuration - use `docker stack deploy` to deploy to >>>> a swarm. >>>> ERROR: No such service: . >>>> I know this docker-compose has missing parameters... but don't know >>>> which. >>>> This is what I have in this folder: >>>> root@MyServer:~/dockerize-openwisp# ls -l >>>> total 44 >>>> drwxr-xr-x 8 root root 4096 May 6 17:12 build >>>> -rw-r--r-- 1 root root 6059 May 6 17:12 docker-compose.yml >>>> drwxr-xr-x 2 root root 4096 May 6 17:12 kubernetes >>>> -rw-r--r-- 1 root root 1070 May 6 17:12 LICENSE >>>> -rw-r--r-- 1 root root 988 May 6 17:12 make_secret_key.py >>>> -rw-r--r-- 1 root root 187 May 6 17:12 Pipfile >>>> -rw-r--r-- 1 root root 8397 May 6 17:12 README.md >>>> drwxr-xr-x 2 root root 4096 May 6 17:12 terraform >>>> root@MyServer:~/dockerize-openwisp# >>>> Thank you very much, >>>> Oscar >>>> >>>> >>>> Missatge de Ajay Tripathi <[email protected]> del dia dl., 6 de maig >>>> 2019 a les 18:35: >>>> >>>>> Hi Oscar, >>>>> >>>>> I think the error may be because you are trying to build without >>>>> docker-compose, >>>>> can you please confirm this? >>>>> >>>>> You need to use docker-compose to build the images. >>>>> On the root directory of the repository there is a docker-compose file. >>>>> You need to do `docker-compose build` to build the images >>>>> and `docker-compose up` to bring up the containers. >>>>> >>>>> Best, >>>>> Ajay T. >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "OpenWISP" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "OpenWISP" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "OpenWISP" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "OpenWISP" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "OpenWISP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
