This project is designed to provide a container-based development environment for the ongoing development of the DongHae Frontend. It is implemented with Docker and Dev Container CLI, allowing you to easily set up your development environment and get started on coding.
Before you can use the DongHae Frontend Dev Container, you need to install the following:
- Clone this repository to your local machine:
git clone https://github.com/ATG-AMS/dh-api-dev.git && cd dh-api-dev- Build the Dockerfile with the Dev Container CLI:
devcontainer build .Once you've made changes and want to push your Docker image to the GitHub Container Registry, follow these steps:
- Tag your Docker image:
docker tag <IMAGE_ID> ghcr.io/atg-ams/dh-api-dev:<TAG>- Authenticate to the GitHub Container Registry using your GitHub Personal Access Token (PAT):
export CR_PAT="<GITHUB_PAT>"
echo $CR_PAT | docker login ghcr.io -u <USERNAME> --password-stdinYou should see Login Succeeded if you've entered your credentials correctly.
- Push the Docker image to the registry:
docker push ghcr.io/atg-ams/dh-api-dev:<TAG>You can also pull the Docker image for the DongHae Frontend Dev Container from the GitHub Container Registry:
- To pull the Docker image by name:
docker pull ghcr.io/atg-ams/dh-api-dev- To pull the Docker image by name and version:
docker pull ghcr.io/atg-ams/dh-api-dev:<VERSION>- To pull the Docker image by name and the latest version:
docker pull ghcr.io/atg-ams/dh-api-dev:latestIf you'd like to contribute to this project, please fork the repository and use a feature branch. Pull requests are warmly welcome.
This project is licensed under the MIT License - see the LICENSE.md file for details.