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

Dockerize! #126

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM gcc:12.4.0

COPY . /gpa-oop

WORKDIR /gpa-oop

RUN make

ENTRYPOINT [ "./main" ]
7 changes: 7 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: "3.8"
name: gpa-oop

services:
gpa-oop:
image: "khongsomeo/gpa-oop"
build: .
18 changes: 16 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# GPA-OOP

[![C/C++ CI](https://github.com/khongsomeo/GPA-OOP/actions/workflows/c-cpp.yml/badge.svg)](https://github.com/khongsomeo/GPA-OOP/actions/workflows/c-cpp.yml)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/khongsomeo/GPA-OOP?label=Latest%20version&style=flat-square)](https://github.com/khongsomeo/GPA-OOP/releases)
[![GitHub](https://img.shields.io/github/license/khongsomeo/GPA-OOP?style=flat-square)](https://github.com/khongsomeo/GPA-OOP/blob/main/LICENSE)
Expand All @@ -8,18 +9,31 @@ Calculating my GPA, in an OOP way.
![screenshot.png](screenshot.png)

## Documentation
[The Wiki page](https://github.com/khongsomeo/GPA-OOP/wiki) stores the most of GPA-OOP.

[The Wiki page](https://github.com/khongsomeo/GPA-OOP/wiki) stores most information of the project.

Contribute to the documentation by creating changes in [gpa-oop-wiki](https://github.com/khongsomeo/gpa-oop-wiki) and create a Pull Request.

## Installation
## Quick Installation

(Detailed guides are in [The Wiki page](https://github.com/khongsomeo/GPA-OOP/wiki))

Choose a way to install:

### Already have GNU Make and g++

Execute a `git clone`, then run `make` to compile. You can use `g++` to compile the original source code too.

### Using prebuild

Download a prebuild in [The Release page](https://github.com/khongsomeo/GPA-OOP/releases) - find the `release.zip` archive in each version.

### Using Docker Image

```bash
docker pull ghcr.io/khongsomeo/GPA-OOP:latest
```

## LICENSE

These works are under [The MIT License](LICENSE)
Loading