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

Use ARG instead of ENV for temporary variables #15

Merged
merged 1 commit into from
Mar 29, 2023

Commits on Mar 1, 2023

  1. Use ARG instead of ENV for temporary variables

    We only need those temporary variables for the container build and for
    the LABELS. We do not want to set those specific environment variables
    for the container environment itself.
    
    Using ARG instead of ENV lets us do that.
    
    The ARG directive only support one value per line thus psplit the
    definition into multiple ones.
    
    See: containers/toolbox#188
    See: https://docs.docker.com/engine/reference/builder/#arg
    
    Signed-off-by: Timothée Ravier <tim@siosm.fr>
    travier committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    db9eb32 View commit details
    Browse the repository at this point in the history