forked from open-austin/transitime-docker
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
there is no public key available for the following key #9
Comments
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 ***@***.***> 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 <[email protected]>
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 ***@***.***>
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
<#9 (comment)>,
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.
https://github.com/TheTransitClock/transitclockDocker/blob/11a3f8861b7999c7c231606a101e8dcdb4491adf/Dockerfile#L63-L65
…On Wed, Sep 9, 2020 at 1:41 PM ChangTung ***@***.***> wrote:
but on mpk i cant compile from source. its based on release.
śr., 9 wrz 2020, 14:39 użytkownik Sean Óg Crudden ***@***.***>
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 ***@***.***>
> 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
> <#9 (comment)>,
> 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
#RUN curl -s
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:
1. maven moves compiled files somewhere else
2. i should change workdir, but i made absolute path. can i use absolute
path with add ? or only relative?
śr., 9 wrz 2020 o 14:55 Sean Óg Crudden <[email protected]>
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.
https://github.com/TheTransitClock/transitclockDocker/blob/11a3f8861b7999c7c231606a101e8dcdb4491adf/Dockerfile#L63-L65
On Wed, Sep 9, 2020 at 1:41 PM ChangTung ***@***.***> wrote:
>
> but on mpk i cant compile from source. its based on release.
>
> śr., 9 wrz 2020, 14:39 użytkownik Sean Óg Crudden <
***@***.***>
> 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 ***@***.***>
> > 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
> > <
#9 (comment)
>,
> > 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
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ63T6SYC5UMHJNBER7IDDSE53KVANCNFSM4RCAWQYQ>
.
--
=======================================
Dziękuję serdecznie i Pozdrawiam
Grzegorz Patynek
--
Usługi Informatyczne Patynek Grzegorz
WWW.UIPG.PL
[email protected]
tel. 662-831-167
=======================================
Best Regards!
Grzegorz Patynek
--
Computer Services Patynek Grzegorz
WWW.UIPG.PL
[email protected]
tel. 48 662-831-167
=======================================
|
You can use absolute path in first parameter. |
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 <[email protected]>
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
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ63T45MOZIOBGBPECTVOLSFC6IVANCNFSM4RCAWQYQ>
.
--
=======================================
Dziękuję serdecznie i Pozdrawiam
Grzegorz Patynek
--
Usługi Informatyczne Patynek Grzegorz
WWW.UIPG.PL
[email protected]
tel. 662-831-167
=======================================
Best Regards!
Grzegorz Patynek
--
Computer Services Patynek Grzegorz
WWW.UIPG.PL
[email protected]
tel. 48 662-831-167
=======================================
|
ok it works now. i had used run cp instead of add.
czw., 10 wrz 2020 o 15:08 Grzegorz Patynek <[email protected]> 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 ***@***.***>
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
> <#9 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAQ63T45MOZIOBGBPECTVOLSFC6IVANCNFSM4RCAWQYQ>
> .
>
--
=======================================
Dziękuję serdecznie i Pozdrawiam
Grzegorz Patynek
--
Usługi Informatyczne Patynek Grzegorz
WWW.UIPG.PL
***@***.***
tel. 662-831-167
=======================================
Best Regards!
Grzegorz Patynek
--
Computer Services Patynek Grzegorz
WWW.UIPG.PL
***@***.***
tel. 48 662-831-167
=======================================
--
=======================================
Dziękuję serdecznie i Pozdrawiam
Grzegorz Patynek
--
Usługi Informatyczne Patynek Grzegorz
WWW.UIPG.PL
[email protected]
tel. 662-831-167
=======================================
Best Regards!
Grzegorz Patynek
--
Computer Services Patynek Grzegorz
WWW.UIPG.PL
[email protected]
tel. 48 662-831-167
=======================================
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: