[PR #103] [CLOSED] Update Dockerfile to handle line endings and improve build process #150

Closed
opened 2026-02-27 04:59:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/guyzyl/whatsapp-contact-sync/pull/103
Author: @Repsay
Created: 7/2/2023
Status: Closed

Base: mainHead: fix-docker-entrypoint-error


📝 Commits (1)

  • 0d3ccba Fix error with entrypoint.sh

📊 Changes

1 file changed (+5 additions, -1 deletions)

View changed files

📝 Dockerfile (+5 -1)

📄 Description

Hi,

This pull request updates the Dockerfile for the whatsapp-contact-sync project to address an issue with line endings in the entrypoint.sh script. The problem was causing syntax errors when running the Docker container due to different line endings between Windows and Unix systems.

To resolve this, the Dockerfile now includes the installation of dos2unix and the conversion of line endings in the entrypoint.sh script during the image build process. After converting the line endings, the dos2unix tool is removed from the image to keep the size small.

Please review and merge this pull request if it meets the project's requirements.

Thank you!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/guyzyl/whatsapp-contact-sync/pull/103 **Author:** [@Repsay](https://github.com/Repsay) **Created:** 7/2/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-docker-entrypoint-error` --- ### 📝 Commits (1) - [`0d3ccba`](https://github.com/guyzyl/whatsapp-contact-sync/commit/0d3ccbad270003ccd6d9aab35f07eaf755f8db7f) Fix error with `entrypoint.sh` ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+5 -1) </details> ### 📄 Description Hi, This pull request updates the Dockerfile for the whatsapp-contact-sync project to address an issue with line endings in the entrypoint.sh script. The problem was causing syntax errors when running the Docker container due to different line endings between Windows and Unix systems. To resolve this, the Dockerfile now includes the installation of dos2unix and the conversion of line endings in the entrypoint.sh script during the image build process. After converting the line endings, the dos2unix tool is removed from the image to keep the size small. Please review and merge this pull request if it meets the project's requirements. Thank you! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 04:59:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whatsapp-contact-sync#150
No description provided.