https://github.com/dahlitzflorian/small_c_test
Sample project to learn C in Docker
https://github.com/dahlitzflorian/small_c_test
Last synced: 7 months ago
JSON representation
Sample project to learn C in Docker
- Host: GitHub
- URL: https://github.com/dahlitzflorian/small_c_test
- Owner: DahlitzFlorian
- License: mit
- Created: 2018-02-24T10:48:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-24T10:51:09.000Z (over 7 years ago)
- Last Synced: 2025-01-08T13:27:30.550Z (9 months ago)
- Language: C
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Small C Test
## Description
This image contains smaller c-programs, which can be executed.
It was created to learn the general commands of Docker and to examine,
how to use C inside Docker wihtout needing the complete gcc image.version 0.1
## Installation
You can get the image via Docker Hub. Simply run```docker pull floriandahlitz/small_c_test```
## Available Commands
The following command will run a comparison between two sorting algorithms:```docker run --rm floriandahlitz/small_c_test --comparison```
To use the case-changer run the following command with a string argument:
```docker run --rm floriandahlitz/small_c_test --case-changer "Test String"```
If you run the image without any further argument, it will execute the default hello-program written in C.