👍

On Mon, May 6, 2019 at 2:14 PM Oscar STV <[email protected]> wrote:

> Hi,
>
> It seems docker-compose build --pull is what I needed :)
>
> root@S912:~/dockerize-openwisp# *docker-compose build --pull*
> 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.
> postgres uses an image, skipping
> redis uses an image, skipping
> Building topology
> Step 1/31 : 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/31 : WORKDIR /opt/openwisp
>  ---> Using cache
>  ---> f07dfd8da064
> Step 3/31 : RUN apk add  --update --no-cache build-base postgresql-dev
> gettext python3-dev linux-headers
>  ---> Running in 0f0e3876c359
> 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
> (1/32) Installing binutils (2.31.1-r2)
> (2/32) Installing libmagic (5.36-r0)
> (3/32) Installing file (5.36-r0)
> (4/32) Installing gmp (6.1.2-r1)
> etc.
>
> El dilluns, 6 maig de 2019 19:37:38 UTC+2, 2stacks va escriure:
>>
>> 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.

Reply via email to