[PR #170] [MERGED] Use Docker to develop Python and PowerShell scripts #489

Closed
opened 2026-03-14 01:24:25 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amidaware/community-scripts/pull/170
Author: @NiceGuyIT
Created: 7/30/2023
Status: Merged
Merged: 7/31/2023
Merged by: @wh1te909

Base: mainHead: feature/docker


📝 Commits (5)

  • 611b741 Use Docker to develop Python and PowerShell scripts
  • 18cca13 Note: '--interactive' flag was added to 'docker compose' v2.3.0
  • b40d584 Fix ${PWD} for Windows
  • b2f969a Fix PowerShell docker image on ARM64 (m1) macOS
  • fc135fe Remove container upon exit so they don't build up over time

📊 Changes

5 files changed (+202 additions, -0 deletions)

View changed files

Dockerfile-python (+27 -0)
📝 README.md (+19 -0)
Taskfile.yaml (+124 -0)
docker-compose-powershell.yml (+16 -0)
docker-compose-python.yml (+16 -0)

📄 Description

This PR requires Task and Docker. Running task dev-python will start a Docker container with Python 3.8. Running task dev-powershell will start a Docker container with the latest PowerShell (pwsh). This has been tested on Linux (openSUSE), macOS (M1 Ventura) and Windows 11.

If there are problems with running Docker, make sure you have the latest version of Docker Desktop or the docker compose plugin.


🔄 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/amidaware/community-scripts/pull/170 **Author:** [@NiceGuyIT](https://github.com/NiceGuyIT) **Created:** 7/30/2023 **Status:** ✅ Merged **Merged:** 7/31/2023 **Merged by:** [@wh1te909](https://github.com/wh1te909) **Base:** `main` ← **Head:** `feature/docker` --- ### 📝 Commits (5) - [`611b741`](https://github.com/amidaware/community-scripts/commit/611b741401d78574af41f2c7b92d782dcd2a8847) Use Docker to develop Python and PowerShell scripts - [`18cca13`](https://github.com/amidaware/community-scripts/commit/18cca13f11a6feaf4a1069d07a30dda55f1da21a) Note: '--interactive' flag was added to 'docker compose' v2.3.0 - [`b40d584`](https://github.com/amidaware/community-scripts/commit/b40d584bdf47f7b2dba54e0658aabdb98c1a6223) Fix ${PWD} for Windows - [`b2f969a`](https://github.com/amidaware/community-scripts/commit/b2f969ac4886b4d36897fa883c5642383f92fb4f) Fix PowerShell docker image on ARM64 (m1) macOS - [`fc135fe`](https://github.com/amidaware/community-scripts/commit/fc135fe3512f6abb9e0d3cadc558c563545d7a78) Remove container upon exit so they don't build up over time ### 📊 Changes **5 files changed** (+202 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `Dockerfile-python` (+27 -0) 📝 `README.md` (+19 -0) ➕ `Taskfile.yaml` (+124 -0) ➕ `docker-compose-powershell.yml` (+16 -0) ➕ `docker-compose-python.yml` (+16 -0) </details> ### 📄 Description This PR requires [Task][] and Docker. Running `task dev-python` will start a Docker container with Python 3.8. Running `task dev-powershell` will start a Docker container with the latest PowerShell (`pwsh`). This has been tested on Linux (openSUSE), macOS (M1 Ventura) and Windows 11. If there are problems with running Docker, make sure you have the latest version of Docker Desktop or the `docker compose` plugin. [Task]: https://github.com/go-task/task --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 01:24:25 +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/community-scripts#489
No description provided.