Closed hvar90 closed 3 years ago
i think there is a problem about version compatibilities like this case https://github.com/bitwalker/distillery/issues/721
i try to use the last version of elixir and i get this error
Step 1/7 : FROM alpine:3.11
3.11: Pulling from library/alpine
cbdbe7a5bc2a: Pull complete
Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54
Status: Downloaded newer image for alpine:3.11
---> f70734b6a266
Step 2/7 : LABEL maintainer="ProcessOne <contact@process-one.net>" product="Ejabberd mix development environment"
---> Running in 93ee9b5e27a7
Removing intermediate container 93ee9b5e27a7
---> 80f993763fa9
Step 3/7 : RUN apk add elixir=1.11.1
---> Running in 595dd46d3f9b
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
elixir-1.9.2-r0:
breaks: world[elixir=1.11.1]
The command '/bin/sh -c apk add elixir=1.11.1' returned a non-zero code: 1
i had this docker file and it worked well but i do not why now it is not working
this is my docker file
[…]
(Please attach the file (and logs) next time instead of pasting it.)
Where did you get the Dockerfile from? Why don’t you just use the current Dockerfile? The Alpine version was updated for example.
[…]
Also, please give the command, how you build the image. I recommend to use https://github.com/processone/docker-ejabberd/blob/master/ecs/build.sh.
i had this docker file and it worked well but i do not why now it is not working this is my docker file
[…]
(Please attach the file (and logs) next time instead of pasting it.)
Where did you get the Dockerfile from? Why don’t you just use the current Dockerfile? The Alpine version was updated for example.
[…]
thanks for answer
i tried with the current dockerFile and i got the same error
the comman that i used was
sudo docker build --no-cache -t ejabberd/ecs .
i will try with https://github.com/processone/docker-ejabberd/blob/master/ecs/build.sh to check if it works
i used https://github.com/processone/docker-ejabberd/blob/master/ecs/build.sh and now i have a new error message
Generated ejabberd app
** (Mix) The task "distillery.init" could not be found
The command '/bin/sh -c mix do compile, distillery.init, distillery.release --env=prod' returned a non-zero code: 1
Error response from daemon: No such image: ejabberd/ecs:19.05
command used = sudo ./build.sh 19.05
my dockerFile https://www.dropbox.com/s/do6ck5kqyqsbsa5/dockerFile.text?dl=0 Logs of Terminal https://www.dropbox.com/s/hv1b48dx95p3g3o/dockerLog.text?dl=0
now i tried with this command sudo ./build.sh latest and i got a new error message
Compiling 1 file (.yrl)
Compiling 267 files (.erl)
src/mod_sip.erl:46: Warning: behaviour gen_mod undefined
src/mod_mam.erl:690: field flippage undefined in record mam_query
src/mod_mam.erl:693: variable 'RSM' is unbound
src/mod_mam.erl:694: variable 'FlipPage' is unbound
src/mod_mam_mnesia.erl:27: Warning: behaviour mod_mam undefined
src/mod_mam_sql.erl:28: Warning: behaviour mod_mam undefined
The command '/bin/sh -c mix do compile, distillery.init, distillery.release --env=prod' returned a non-zero code: 1
here the new log file: https://www.dropbox.com/s/7cnlp6lec5khrgw/dockerLog%20%28latest%29.text?dl=0
with sudo ./build.sh 19.09.1 made the build !!
I will try with other more recent versions
with ./build.sh 20.07 worked well too !! i will close this issue
Hi i had this docker file and it worked well but i do not why now it is not working
this is my docker file
and this is the ouput from Console terminal