Upload Docker Image to Docker Hub
Description:
It would be highly beneficial to have the Docker image for this project uploaded to Docker Hub. This would make it easier for users to pull and deploy the container without needing to build it locally.
Reasons:
- Simplifies the setup process for users who want to use the image in their own environments.
- Ensures that the image is easily accessible and up-to-date for all users.
- Provides a standardized version of the image for public use.
+1 PRs are welcome
As soon as I have time I will create a PR. 👍
hey I want to create this PR, if @dennysubke is not working on this, can I ?
hey I want to create this PR, if @dennysubke is not working on this, can I ?
It would be great if you could take over. I'm very busy at the moment.
thank you, it will be my first open source contribution in a while. thank you.
Github container registry (ghcr.io) would be even better imo, see example: https://mxd.codes/articles/docker-ci-cd-for-nextjs-with-github-actions
Hey 👋🏻, is this issue still open? If so, and if no one is already working on it, I'd love to take it up. However, I might need some guidance along the way.
Thanks!
Hey 👋🏻, is this issue still open? If so, and if no one is already working on it, I'd love to take it up. However, I might need some guidance along the way.
Thanks!
Yes
Hey @needleXO, since the Dockerfile is already present in the codebase, I just need to push the image, right? Also, if I'm not mistaken, I don't have to push it to my account. Please correct me if I misunderstood anything. Thanks :)
Hey @needleXO, since the Dockerfile is already present in the codebase, I just need to push the image, right? Also, if I'm not mistaken, I don't have to push it to my account. Please correct me if I misunderstood anything. Thanks :)
The Dockerfile we have is outdated and for .devcontainer
Okay, I'll be adding a dockerfile in the root and will create a PR after the changes. Let me know if you have any suggestions.
Hey @needleXO, I tried making a dockerfile and it builds successfuly. But on running the image I'm stuck up with this error.
$ next start
@zero/mail:start: ▲ Next.js 15.2.3
@zero/mail:start: - Local: http://localhost:3000
@zero/mail:start: - Network: http://172.17.0.2:3000
@zero/mail:start:
@zero/mail:start: ✓ Starting...
@zero/mail:start: ============================================================
@zero/mail:start: Bun Canary v1.2.9-canary.35 (bb4f8d89) Linux x64 (baseline)
@zero/mail:start: Linux Kernel v5.15.0 | glibc v2.31
@zero/mail:start: CPU: sse42 popcnt
@zero/mail:start: Args: "node" "/app/node_modules/.bin/next" "start"
@zero/mail:start: Features: Bun.stderr(2) Bun.stdout(2) dotenv http_server jsc no_avx2 no_avx transpiler_cache(13) tsconfig(2) tsconfig_paths process_dlopen
@zero/mail:start: Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:dns/promises" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:process" "node:querystring" "node:stream" "node:stream/web" "node:string_decoder" "node:tty" "node:url" "node:util" "node:vm" "node:zlib" "node:v8"
@zero/mail:start: Elapsed: 705ms | User: 619ms | Sys: 79ms
@zero/mail:start: RSS: 1.06GB | Peak: 131.29MB | Commit: 1.06GB | Faults: 18
@zero/mail:start:
@zero/mail:start: CPU lacks AVX support. Please consider upgrading to a newer CPU.
@zero/mail:start: panic: Segmentation fault at address 0x2670018
@zero/mail:start: oh no: Bun has crashed. This indicates a bug in Bun, not your code.
@zero/mail:start:
@zero/mail:start: To send a redacted crash report to Bun's team,
@zero/mail:start: please file a GitHub issue using the link below:
@zero/mail:start:
@zero/mail:start: https://bun.report/1.2.9/Bn2bb4f8d8uIqwg0gGk/62nE+8mOu91ymFsriy7Eqpgy7E4poy7Eow/96E2sr96E8xq96Em26t7EA2Awhg8sC
@zero/mail:start:
@zero/mail:start: error: script "start" was terminated by signal SIGILL (Illegal instruction)
x Internal errors encountered: external process killed a task
error: script "start" exited with code 1
Maybe if you say I create a PR with changes, it I'll be easy to review up there.
Hey @needleXO, I tried making a dockerfile and it builds successfuly. But on running the image I'm stuck up with this error.
$ next start @zero/mail:start: ▲ Next.js 15.2.3 @zero/mail:start: - Local: http://localhost:3000 @zero/mail:start: - Network: http://172.17.0.2:3000 @zero/mail:start: @zero/mail:start: ✓ Starting... @zero/mail:start: ============================================================ @zero/mail:start: Bun Canary v1.2.9-canary.35 (bb4f8d89) Linux x64 (baseline) @zero/mail:start: Linux Kernel v5.15.0 | glibc v2.31 @zero/mail:start: CPU: sse42 popcnt @zero/mail:start: Args: "node" "/app/node_modules/.bin/next" "start" @zero/mail:start: Features: Bun.stderr(2) Bun.stdout(2) dotenv http_server jsc no_avx2 no_avx transpiler_cache(13) tsconfig(2) tsconfig_paths process_dlopen @zero/mail:start: Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:dns/promises" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:process" "node:querystring" "node:stream" "node:stream/web" "node:string_decoder" "node:tty" "node:url" "node:util" "node:vm" "node:zlib" "node:v8" @zero/mail:start: Elapsed: 705ms | User: 619ms | Sys: 79ms @zero/mail:start: RSS: 1.06GB | Peak: 131.29MB | Commit: 1.06GB | Faults: 18 @zero/mail:start: @zero/mail:start: CPU lacks AVX support. Please consider upgrading to a newer CPU. @zero/mail:start: panic: Segmentation fault at address 0x2670018 @zero/mail:start: oh no: Bun has crashed. This indicates a bug in Bun, not your code. @zero/mail:start: @zero/mail:start: To send a redacted crash report to Bun's team, @zero/mail:start: please file a GitHub issue using the link below: @zero/mail:start: @zero/mail:start: https://bun.report/1.2.9/Bn2bb4f8d8uIqwg0gGk/62nE+8mOu91ymFsriy7Eqpgy7E4poy7Eow/96E2sr96E8xq96Em26t7EA2Awhg8sC @zero/mail:start: @zero/mail:start: error: script "start" was terminated by signal SIGILL (Illegal instruction) x Internal errors encountered: external process killed a task error: script "start" exited with code 1Maybe if you say I create a PR with changes, it I'll be easy to review up there.
Open a PR and we'll see
Hey @needleXO, I tried making a dockerfile and it builds successfuly. But on running the image I'm stuck up with this error.
$ next start @zero/mail:start: ▲ Next.js 15.2.3 @zero/mail:start: - Local: http://localhost:3000 @zero/mail:start: - Network: http://172.17.0.2:3000 @zero/mail:start: @zero/mail:start: ✓ Starting... @zero/mail:start: ============================================================ @zero/mail:start: Bun Canary v1.2.9-canary.35 (bb4f8d89) Linux x64 (baseline) @zero/mail:start: Linux Kernel v5.15.0 | glibc v2.31 @zero/mail:start: CPU: sse42 popcnt @zero/mail:start: Args: "node" "/app/node_modules/.bin/next" "start" @zero/mail:start: Features: Bun.stderr(2) Bun.stdout(2) dotenv http_server jsc no_avx2 no_avx transpiler_cache(13) tsconfig(2) tsconfig_paths process_dlopen @zero/mail:start: Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:dns/promises" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:process" "node:querystring" "node:stream" "node:stream/web" "node:string_decoder" "node:tty" "node:url" "node:util" "node:vm" "node:zlib" "node:v8" @zero/mail:start: Elapsed: 705ms | User: 619ms | Sys: 79ms @zero/mail:start: RSS: 1.06GB | Peak: 131.29MB | Commit: 1.06GB | Faults: 18 @zero/mail:start: @zero/mail:start: CPU lacks AVX support. Please consider upgrading to a newer CPU. @zero/mail:start: panic: Segmentation fault at address 0x2670018 @zero/mail:start: oh no: Bun has crashed. This indicates a bug in Bun, not your code. @zero/mail:start: @zero/mail:start: To send a redacted crash report to Bun's team, @zero/mail:start: please file a GitHub issue using the link below: @zero/mail:start: @zero/mail:start: https://bun.report/1.2.9/Bn2bb4f8d8uIqwg0gGk/62nE+8mOu91ymFsriy7Eqpgy7E4poy7Eow/96E2sr96E8xq96Em26t7EA2Awhg8sC @zero/mail:start: @zero/mail:start: error: script "start" was terminated by signal SIGILL (Illegal instruction) x Internal errors encountered: external process killed a task error: script "start" exited with code 1Maybe if you say I create a PR with changes, it I'll be easy to review up there.
Open a PR and we'll see
Here it is #591
Am I mistaken or is it still not published on dockerhub or ghcr.io?
Am I mistaken or is it still not published on dockerhub or ghcr.io?
I think it's still not published.
Am I mistaken or is it still not published on dockerhub or ghcr.io?
I think it's still not published.
It wont because there is no action that pushes it to any registry...
Am I mistaken or is it still not published on dockerhub or ghcr.io?
I think it's still not published.
It wont because there is no action that pushes it to any registry...
It's up to the mantainers it seems
Could you please reopen this issue, as it is not yet completed? @dennysubke
@MrgSub can i resolve this issue by creating a github workflow and by optimising the Docker/app/dockerfile and Docker/db/dockerfile
This issue is stale (3+ days) and will be closed.
Closing stale issue.