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

Using docker compose to build local image #4796

Closed
2 tasks done
ivancarlosti opened this issue May 28, 2024 · 2 comments
Closed
2 tasks done

Using docker compose to build local image #4796

ivancarlosti opened this issue May 28, 2024 · 2 comments
Labels
area:deployment related to how uptime kuma can be deployed help

Comments

@ivancarlosti
Copy link

⚠️ Please verify that this question has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

I am trying to run:
docker compose up -d --build
To build and run a local docker image, based on /docker/dockerfile, but it returns error, how could I build my local image using docker compose --build?

📝 Error Message(s) or Log

 => [uptime-kuma upload-artifact 4/7] RUN chmod +x /app/extra/upload-github-release-asset.sh                                                                                                         0.4s
 => ERROR [uptime-kuma upload-artifact 5/7] RUN cd /app && tar -zcvf dist.tar.gz dist                                                                                                                0.4s
------
 > [uptime-kuma upload-artifact 5/7] RUN cd /app && tar -zcvf dist.tar.gz dist:
0.381 tar: dist: Cannot stat: No such file or directory
0.387 tar: Exiting with failure status due to previous errors
------
failed to solve: process "/bin/sh -c cd /app && tar -zcvf $DIST dist" did not complete successfully: exit code: 2

🐻 Uptime-Kuma Version

1.12.13

💻 Operating System and Arch

Ubuntu 24.04

🌐 Browser

125.0.6422.78

🖥️ Deployment Environment

  • Runtime: Docker 26.1.3
  • Database: sqlite/embedded
  • Filesystem used to store the database on: btrfs
  • number of monitors: 65
@CommanderStorm CommanderStorm added the area:deployment related to how uptime kuma can be deployed label May 28, 2024
@CommanderStorm
Copy link
Collaborator

What are you trying to do in the first place?
You are likely better off with one of the installation methods we actively support https://github.com/louislam/uptime-kuma/wiki/%F0%9F%94%A7-How-to-Install

Uptime-Kuma Version 1.12.13 is not a published version of our software.
=> you are likely refering to 1.23.13. In this case please use this docker image instead louislam/uptime-kuma:1.23.13

If you need to buid the docker image, please refer to previous comments on this matter: #4646 (comment)

Think this resolves the question.
Please still respond why you are trying to do this in the first place. This is not the only issue where users have asked about this, but we have to date never gotten a response on this one.

@ivancarlosti
Copy link
Author

ivancarlosti commented May 30, 2024

What are you trying to do in the first place? You are likely better off with one of the installation methods we actively support https://github.com/louislam/uptime-kuma/wiki/%F0%9F%94%A7-How-to-Install

Uptime-Kuma Version 1.12.13 is not a published version of our software. => you are likely refering to 1.23.13. In this case please use this docker image instead louislam/uptime-kuma:1.23.13

If you need to buid the docker image, please refer to previous comments on this matter: #4646 (comment)

Think this resolves the question. Please still respond why you are trying to do this in the first place. This is not the only issue where users have asked about this, but we have to date never gotten a response on this one.

Hi, I want to do some changes on build because the [ ] on email messages subject mess up the Gmail thread system, some alerts are threaded with different ones because of it, also I would like to add on UP alerts the time that the outage took, as like Uptime Monitor does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:deployment related to how uptime kuma can be deployed help
Projects
None yet
Development

No branches or pull requests

2 participants