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

added Dockerfile for local dev #16

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
10 changes: 10 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM quay.io/pypa/manylinux2014_x86_64

# 'Development Tools' group is the equivalent of 'build-essential' package in Ubuntu
RUN echo "Installing Development Tools"
RUN yum install -y perl-IPC-Cmd gperf git
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion (llm): Consider combining RUN instructions to reduce the number of layers in the Docker image. This can be achieved by chaining commands using '&&' and cleaning up in the same layer to optimize the image size.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great idea!


WORKDIR /Nuitka-Python

# Entry point
CMD ["/bin/bash"]
3 changes: 3 additions & 0 deletions docker/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/bash

docker build . --file Dockerfile --tag nuikta-python3.11:latest
3 changes: 3 additions & 0 deletions docker/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/bash

docker run --rm -it -v $(pwd)/..:/Nuitka-Python nuikta-python3.11:latest
Loading