Skip to content
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

New docker image #63

Open
DesdeChaves opened this issue Jan 11, 2022 · 2 comments
Open

New docker image #63

DesdeChaves opened this issue Jan 11, 2022 · 2 comments

Comments

@DesdeChaves
Copy link

DesdeChaves commented Jan 11, 2022

Hi Tim

Many thanks for your efforts.
Is It possible to provide a docker file to create a container?
The old file allows create the image without errors, but it is not possible to run it.

I tried with "swift:5.5.2-focal as builder"

The log

`

docker run 7a1616d0ce5a

FeatherCore/Environment+Fetch.swift:24: Fatal error: The following key FEATHER_WORK_DIR is not defined in the environment file.
Check the README or the documentation for how to set environment variables.
Received signal 4. Backtrace:
0x55a06f3b5a92, Backtrace.(printBacktrace in _B82A8C0ED7C904841114FDF244F9E58E)(signal: Swift.Int32) -> () at /opt/feather/.build/checkouts/swift-backtrace/Sources/Backtrace/Backtrace.swift:66
0x7fa4e85c53bf
0x7fa4e88910ab
0x55a06f6ee07f, static (extension in FeatherCore):Vapor.Environment.featherRequired(Swift.String) -> Swift.String at /opt/feather/.build/checkouts/feather-core/Sources/FeatherCore/Extensions/Environment+Fetch.swift:24
0x55a06f6f7ce9, one-time initialization function for (workDir in _4CA58FEA3E295A70C8D04B97347E9C51) at /opt/feather/.build/checkouts/feather-core/Sources/FeatherCore/Feather/Feather.swift:22
0x7fa4e85c247e
0x7fa4e8b400d5
0x55a06f6f81e6, FeatherCore.Feather.(workDir in _4CA58FEA3E295A70C8D04B97347E9C51).unsafeMutableAddressor : Swift.String at /opt/feather/.build/checkouts/feather-core/Sources/FeatherCore/Feather/Feather.swift:22
0x55a06f6f81e6, one-time initialization function for base at /opt/feather/.build/checkouts/feather-core/Sources/FeatherCore/Feather/Feather.swift:35
0x7fa4e85c247e
0x7fa4e8b400d5
0x55a06f6f8353, FeatherCore.Feather.Paths.base.unsafeMutableAddressor : Foundation.URL at /opt/feather/.build/checkouts/feather-core/Sources/FeatherCore/Feather/Feather.swift:35
0x55a06f6f8353, one-time initialization function for public at /opt/feather/.build/checkouts/feather-core/Sources/FeatherCore/Feather/Feather.swift:38
0x7fa4e85c247e
0x7fa4e8b400d5
0x55a06f6f83a3, FeatherCore.Feather.Paths.public.unsafeMutableAddressor : Foundation.URL at /opt/feather/.build/checkouts/feather-core/Sources/FeatherCore/Feather/Feather.swift:38
0x55a06f6d300a, Feather.configure(Vapor.Application) throws -> () at /opt/feather/Sources/Feather/main.swift:23
0x55a06f6d2e96, Feather_main at /opt/feather/Sources/Feather/main.swift:42
0x7fa4e7e430b2
0x55a06f1dd9ad
0xffffffffffffffff
/opt/feather/start: line 5: 7 Illegal instruction Feather serve --hostname 0.0.0.0 --port ${BASE_PORT}

`

Nice year 2022.

@tib
Copy link
Member

tib commented Jan 11, 2022

Hi,

will take a look on this later on for sure, but I've got a bunch of other issues needs to be addressed before I can start with Docker.

Best,
Tib

@DesdeChaves
Copy link
Author

Hello Tib,

There is some progress on this matter (making a docker file).

Do you know of an alternative process to run CMS Feather in Google Cloud Console or AWS.

Best regards,
Jorge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants