Hello,
This issue is now fixed in master branch. Please pull the new commits
and try the build again.
The issue was caused by not reflecting some code changes in the
Dockerfile. I added new CI job to check the docker-compose build passes,
so we should not get any more build failures in the future.
Furthermore, there has been quite a rapid development in Ferda which is
not reflected in the web docs yet. In order to run it, you need more
comprehensive `.env` file (although for building itself, the old one
will probably suffice). I prepared `example.env` file containing all
necessary settings to successfully run Ferda [1].
Please note that this is just an example – you need to change the
defaults to your own configuration in order for most features to work.
All these settings are either standard Django settings [2] or they are
documented in README [3]. Please note that `FERDA_GRPC_NETLOC` from
README is translated to `FERDA_REGISTRY_NETLOC` in the docker build –
this is the new name we want to use, so eventually, it will be
`FERDA_REGISTRY_NETLOC` in README and settings as well.
We are quite excited that you decided to give Ferda a try. As far as we
know, it's not used by any other domain registry besides us right now.
If you have any other issues, don't hesitate to ask – we're happy to help.
Kind Regards,
Jan Musílek
[1]
https://gitlab.nic.cz/fred/ferda/-/blob/master/docker/example.env
[2]
https://docs.djangoproject.com/en/3.2/ref/settings/
[3]
https://gitlab.nic.cz/fred/ferda/-/blob/master/README.rst
On 30. 06. 21 15:40, Jiri Sadek wrote:
Hi,
thanks for reporting the issue. It looks like webpack config separation
was not properly reflected in the Dockerfile. We'll look into it and let
you know when it's fixed.
Regards
Jiri
Dne 6/30/21 v 12:37 Leonardo Assunção napsal(a):
Hi,
I'm having trouble building a docker Ferda.
I followed the steps described in this link
https://fred.nic.cz/documentation/html/FerdaManual/Installation.html#how-to…
<https://fred.nic.cz/documentation/html/FerdaManual/Installation.html#how-to-install>
and in the step of doing build occurs this error:
Digest:
sha256:70d4fffcab39a1f9f7161d58e674ddcc56c7f0724196b68d52a87bab15cb4a04
Status: Downloaded newer image for node:13
---> 2b9604a36e49
Step 2/24 : WORKDIR /app
---> Running in 7a6b66ab06a9
Removing intermediate container 7a6b66ab06a9
---> 9bac969be5a8
Step 3/24 : COPY ferda/static/ /app/static/
---> 46036760fee1
Step 4/24 : COPY assets/ /app/assets/
---> 8428cbd225ea
Step 5/24 : COPY package.json webpack.config.js /app/
COPY failed: file not found in build context or excluded by
.dockerignore: stat webpack.config.js: file does not exist
ERROR: Service 'ferda_uwsgi' failed to build : Build failed
How do I solve this problem?
Greetings,
Leonardo Assunção
g9telecom
*Leonardo Assunção*
Técnica
T.: 707 450 000
F.: 707 450 009
www.g9telecom.pt <http://www.g9telecom.pt/>
[Download vCard]
<http://public.g9telecom.pt/vCards/tec29bk5-leonardo.vcf>
certif
Esta mensagem (incluindo anexos) pode conter informação confidencial
para uso exclusivo do destinatário. Se não for o destinatário
pretendido não deverá usar, distribuir ou copiar este e-mail, devendo
eliminá-lo e informar o emissor imediatamente. Obrigado.
This message (including any attachments) may contain confidential
information for the exclusive use of the recipient. If you are not the
intended recipient, you should not use, distribute or copy this email,
and you must delete it and inform the issuer immediately. Thank you.
_______________________________________________
fred-users mailing list
fred-users(a)lists.nic.cz
https://lists.nic.cz/mailman/listinfo/fred-users
_______________________________________________
fred-users mailing list
fred-users(a)lists.nic.cz
https://lists.nic.cz/mailman/listinfo/fred-users