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 Ubuntu Perforce package #29

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Added Ubuntu Perforce package #29

wants to merge 7 commits into from

Conversation

AaronZurawski
Copy link

Added Perforce binary to Ubuntu Dockerfile. Its installed using the instructions supplied by Perforce, and done using os-release so that it will install the correct package regardless of any base image changes.

Doing so required an intermediary gnupg package that is only installed during the build and then removed immediately. I also took the liberty of cleaning the downloaded apt lists which reduces the overall image size, and is recommended in the Docker Best Practices. I also modified the existing RUN command to follow these practices as well, such as moving the install packages to new lines for better diffs and ordering them alphabetically. I also moved the AND operators to the front as its easier to see which lines are a new command versus an argument.

@AaronZurawski
Copy link
Author

This also resolves #24

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