Skip to content

Add Dockerfile#1

Draft
szobov wants to merge 1 commit into
synogate:masterfrom
szobov:add-docker-file
Draft

Add Dockerfile#1
szobov wants to merge 1 commit into
synogate:masterfrom
szobov:add-docker-file

Conversation

@szobov
Copy link
Copy Markdown

@szobov szobov commented May 23, 2023

Rationale

Since the installation requires many actions on the user side, it is better to provide a more convenient and reproducible way to prepare the working environment.

In this case, Docker can mount a directory with the code and have a bidirectional connection to the container.

Implementation

I just used all the commands from README and put them into Dockerfile.
Tested it with:

docker exec -ti gatery /bin/bash -c "cd ~/Documents/gatery/hello_world && make"

Next steps

Use Dockerfile on CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant