Conversation
This was disabled in bae0857 when undoing changes made in an attempt to change IDE to Intellij. The comment markers appear to have slipped in by accident.
|
I had the same issue and I tried to fix it by updating nodejs and npm version(but I still had build issues). (1) about build error By (2) war build error After It looks I could not build knowledge.war properly. In fact, Here is my environment.
|
|
I remember seeing the It happens when you run This will probably not happen for people who use Docker on the Mac or Windows as that runs inside a VM with I "solved" it by prefixing the docker-compose run --rm mavenUgly, but it does the trick. Perhaps I should create a separate PR for that as well. |
|
I also remember seeing the goal execution errors you mentioned first. However, I do not see them with the PRs I submitted. Have you uncommented the docker-compose run --rm maven mv clean test site -eline by any chance? |
|
@paddy-hack Thank you for advices and sorry for late reply.
Exactly! I use a regular user belong to
No. I kept this line commented as in https://github.com/support-project/knowledge/blob/v1/launch.sh#L4. I found (1) error happends at I also found I finally changed launch.sh as the following. #!/bin/bash -eu
docker-compose run maven mvn install -DskipTests=true -Dmaven.javadoc.skip=true -e
# docker-compose run maven mvn clean test site -e
# docker-compose run maven mvn clean package -e
sudo mkdir -p target/webapps
sudo cp target/knowledge.war target/webapps/knowledge.war
docker-compose up --build -d tomcat
docker-compose logs -f tomcatAfter I feel this is not the right way, but it's OK if I can start what I want 😅
I agree. I feel we could use docker multi stage build for example. Also, I want the developer manual... |
Closes #1099