[PR #50] [MERGED] Created Dockerfile #82

Closed
opened 2026-03-02 16:48:05 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/initialcommit-com/git-sim/pull/50
Author: @Averagess
Created: 2/9/2023
Status: Merged
Merged: 2/10/2023
Merged by: @initialcommit-io

Base: mainHead: main


📝 Commits (1)

📊 Changes

1 file changed (+13 additions, -0 deletions)

View changed files

Dockerfile (+13 -0)

📄 Description

Implemented #46

To build the Docker image, clone this and run docker build -t git-sim . inside the repository.

To run git-sim with Docker, you can use one of these commands depending on the OS

Windows cmd: docker run --rm -v %cd%:/usr/src/git-sim git-sim log
Powershell: docker run --rm -v ${PWD}:/usr/src/git-sim git-sim log
Linux: docker run --rm -v $(pwd):/usr/src/git-sim git-sim log

After running, Docker should create an git-sim_media directory inside current working directory
or it appends the media if the directory already exists.

I have tested both windows cmd and powershell, but i havent tested running the linux cmd. It should work though


🔄 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/initialcommit-com/git-sim/pull/50 **Author:** [@Averagess](https://github.com/Averagess) **Created:** 2/9/2023 **Status:** ✅ Merged **Merged:** 2/10/2023 **Merged by:** [@initialcommit-io](https://github.com/initialcommit-io) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`a0a2f5c`](https://github.com/initialcommit-com/git-sim/commit/a0a2f5c95f08ae1911f3746dd9eb9ee123a44c8f) Created Dockerfile ### 📊 Changes **1 file changed** (+13 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `Dockerfile` (+13 -0) </details> ### 📄 Description Implemented #46 To build the Docker image, clone this and run `docker build -t git-sim .` inside the repository. To run git-sim with Docker, you can use one of these commands depending on the OS Windows cmd: `docker run --rm -v %cd%:/usr/src/git-sim git-sim log` Powershell: `docker run --rm -v ${PWD}:/usr/src/git-sim git-sim log` Linux: `docker run --rm -v $(pwd):/usr/src/git-sim git-sim log` After running, Docker should create an git-sim_media directory inside current working directory or it appends the media if the directory already exists. I have tested both windows cmd and powershell, but i havent tested running the linux cmd. It should work though --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 16:48:05 +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/git-sim#82
No description provided.