Open changtung opened 4 years ago
Hi,
Can you try the MPK version. The issue is caused by the
FROM maven:3.3-jdk-8
in the Dockerfile. This is due to some deprecated debian stuff.
Thanks, Sean.
On Wed, Sep 9, 2020 at 12:51 PM ChangTung notifications@github.com wrote:
When i try to run master version, during go.sh i receive info: "there is no public key available for the following key (...)". No touch, no changes in code. debian 9. System can't do apt-get update on curl and postgresql. In consequence i can't run transitime.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
but on mpk i cant compile from source. its based on release.
śr., 9 wrz 2020, 14:39 użytkownik Sean Óg Crudden notifications@github.com napisał:
Hi,
Can you try the MPK version. The issue is caused by the
FROM maven:3.3-jdk-8
in the Dockerfile. This is due to some deprecated debian stuff.
Thanks, Sean.
On Wed, Sep 9, 2020 at 12:51 PM ChangTung notifications@github.com wrote:
When i try to run master version, during go.sh i receive info: "there is no public key available for the following key (...)". No touch, no changes in code. debian 9. System can't do apt-get update on curl and postgresql. In consequence i can't run transitime.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TheTransitClock/transitclockDocker/issues/9#issuecomment-689535714, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQ63TZ6ILJFKXCRLB3WXMLSE5ZRHANCNFSM4RCAWQYQ .
If you compile locally and then modify/uncomment these lines to pick up your local compiled version you should be good to go.
On Wed, Sep 9, 2020 at 1:41 PM ChangTung notifications@github.com wrote:
but on mpk i cant compile from source. its based on release.
śr., 9 wrz 2020, 14:39 użytkownik Sean Óg Crudden notifications@github.com napisał:
Hi,
Can you try the MPK version. The issue is caused by the
FROM maven:3.3-jdk-8
in the Dockerfile. This is due to some deprecated debian stuff.
Thanks, Sean.
On Wed, Sep 9, 2020 at 12:51 PM ChangTung notifications@github.com wrote:
When i try to run master version, during go.sh i receive info: "there is no public key available for the following key (...)". No touch, no changes in code. debian 9. System can't do apt-get update on curl and postgresql. In consequence i can't run transitime.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TheTransitClock/transitclockDocker/issues/9#issuecomment-689535714, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQ63TZ6ILJFKXCRLB3WXMLSE5ZRHANCNFSM4RCAWQYQ .
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
It compiles locally well. Source code is old version of transitime, called transitime, not transitclock. Anyway, i did ` WORKDIR /usr/local/transitclock
https://api.github.com/repos/TheTransitClock/transitime/releases/latest | jq -r ".assets[].browser_download_url" | grep 'Core.jar|api.war|web.war' | xargs -L1 wget
RUN git clone https://github.com/changtung/core.git WORKDIR /usr/local/transitclock/core/ RUN git checkout polish RUN mvn install -DskipTests
ADD /usr/local/transitclock/core/transitimeWebapp/target/web.war
/usr/local/transitclock/
ADD /usr/local/transitclock/core/transitclockApi/target/api.war
/usr/local/transitclock/
ADD /usr/local/transitclock/core/transitime/target/Core.jar
/usr/local/transitclock/
After successful maven compilation i get:
Step 41/67 : ADD
/usr/local/transitclock/core/transitimeWebapp/target/web.war
/usr/local/transitclock/
ADD failed: stat
/var/lib/docker/tmp/docker-builder393646867/usr/local/transitclock/core/transitimeWebapp/target/web.war:
no such file or directory`
It seems somehow path problem.
I think possible causes are:
śr., 9 wrz 2020 o 14:55 Sean Óg Crudden notifications@github.com napisał(a):
If you compile locally and then modify/uncomment these lines to pick up your local compiled version you should be good to go.
On Wed, Sep 9, 2020 at 1:41 PM ChangTung notifications@github.com wrote:
but on mpk i cant compile from source. its based on release.
śr., 9 wrz 2020, 14:39 użytkownik Sean Óg Crudden < notifications@github.com> napisał:
Hi,
Can you try the MPK version. The issue is caused by the
FROM maven:3.3-jdk-8
in the Dockerfile. This is due to some deprecated debian stuff.
Thanks, Sean.
On Wed, Sep 9, 2020 at 12:51 PM ChangTung notifications@github.com wrote:
When i try to run master version, during go.sh i receive info: "there is no public key available for the following key (...)". No touch, no changes in code. debian 9. System can't do apt-get update on curl and postgresql. In consequence i can't run transitime.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/TheTransitClock/transitclockDocker/issues/9#issuecomment-689535714 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAQ63TZ6ILJFKXCRLB3WXMLSE5ZRHANCNFSM4RCAWQYQ
.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TheTransitClock/transitclockDocker/issues/9#issuecomment-689543795, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQ63T6SYC5UMHJNBER7IDDSE53KVANCNFSM4RCAWQYQ .
Dziękuję serdecznie i Pozdrawiam Grzegorz Patynek
Best Regards! Grzegorz Patynek
You can use absolute path in first parameter.
Removing intermediate container 94ed20cf5e07 ---> cab541da54f5 Step 41/67 : ADD /usr/local/transitclock/core/transitimeWebapp/target/web.war /usr/local/transitclock/ ADD failed: stat /var/lib/docker/tmp/docker-builder212091226/usr/local/transitclock/core/transitimeWebapp/target/web.war: no such file or directory 6cac19a6aa3d7c18ba5ab57b73da62a0a12b97acc6d76bbef9c43d24cbf4188f`
czw., 10 wrz 2020 o 14:05 Sean Óg Crudden notifications@github.com napisał(a):
You can use absolute path in first parameter.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TheTransitClock/transitclockDocker/issues/9#issuecomment-690225944, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQ63T45MOZIOBGBPECTVOLSFC6IVANCNFSM4RCAWQYQ .
Dziękuję serdecznie i Pozdrawiam Grzegorz Patynek
Best Regards! Grzegorz Patynek
ok it works now. i had used run cp instead of add.
czw., 10 wrz 2020 o 15:08 Grzegorz Patynek gpatynek@gmail.com napisał(a):
But it compiles with success and doesnt see web.jar `[INFO] BUILD SUCCESS [INFO]
[INFO] Total time: 03:42 min [INFO] Finished at: 2020-09-10T13:00:50Z [INFO]
Removing intermediate container 94ed20cf5e07 ---> cab541da54f5 Step 41/67 : ADD /usr/local/transitclock/core/transitimeWebapp/target/web.war /usr/local/transitclock/ ADD failed: stat /var/lib/docker/tmp/docker-builder212091226/usr/local/transitclock/core/transitimeWebapp/target/web.war: no such file or directory 6cac19a6aa3d7c18ba5ab57b73da62a0a12b97acc6d76bbef9c43d24cbf4188f`
czw., 10 wrz 2020 o 14:05 Sean Óg Crudden notifications@github.com napisał(a):
You can use absolute path in first parameter.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TheTransitClock/transitclockDocker/issues/9#issuecomment-690225944, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQ63T45MOZIOBGBPECTVOLSFC6IVANCNFSM4RCAWQYQ .
--
Dziękuję serdecznie i Pozdrawiam Grzegorz Patynek
-- Usługi Informatyczne Patynek Grzegorz WWW.UIPG.PL gpatynek@gmail.com tel. 662-831-167
Best Regards! Grzegorz Patynek
-- Computer Services Patynek Grzegorz WWW.UIPG.PL gpatynek@gmail.com tel. 48 662-831-167
Dziękuję serdecznie i Pozdrawiam Grzegorz Patynek
Best Regards! Grzegorz Patynek
When i try to run master version, during go.sh i receive info: "there is no public key available for the following key (...)". No touch, no changes in code. debian 9. System can't do apt-get update on curl and postgresql. In consequence i can't run transitime.