Skip to content

Commit

Permalink
Merge pull request #126 from hwangswan/dockerize
Browse files Browse the repository at this point in the history
Dockerize!
  • Loading branch information
trhgquan authored Dec 9, 2024
2 parents fa564e7 + 7c1b4ce commit 2259d68
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
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)

0 comments on commit 2259d68

Please sign in to comment.