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

Add Dockerfile #3

Merged
merged 1 commit into from
May 24, 2022
Merged

Add Dockerfile #3

merged 1 commit into from
May 24, 2022

Conversation

JacobCallahan
Copy link
Member

This commit introduces a Dockerfile for container image builds.
Additionally, fixed some small items and added a more permissive flake
config

This commit introduces a Dockerfile for container image builds.
Additionally, fixed some small items and added a more permissive flake
config
@JacobCallahan JacobCallahan added the bug Something isn't working label May 24, 2022
Copy link
Collaborator

@synkd synkd left a comment

Choose a reason for hiding this comment

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

Looks good to me. @JacobCallahan had asked me specifically to ensure that there were no missing system packages in the dockerfile. I don't believe there are any additional required system package dependencies.

ENV MANIFESTER_DIRECTORY=/root/manifester/
COPY . /root/manifester/
RUN pip install .
RUN cp manifester_settings.yaml.example manifester_settings.yaml
Copy link
Member

Choose a reason for hiding this comment

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

Should this really be done in the dockerfile? the github workflow needs it, but I'd expect the runner to mount their config file.

Copy link
Member Author

Choose a reason for hiding this comment

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

One of the big reasons for this is to make sure someone can run the dockerfile without mounts to see help output

$  docker run --rm manifester --help                                                                                        master 
Usage: manifester [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  get-manifest

@JacobCallahan JacobCallahan merged commit 31406b5 into SatelliteQE:master May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants