Skip to content

Conversation

@pjonsson
Copy link
Contributor

Put the force-udf layer first since
that does not change frequently,
and add the repository directly
so the Docker cache can be used
to speed up the image build.

Also switch to using --link and numerical
UID/GID when copying, the first to get
the reasonable behavior from COPY,
and the second to avoid strange out
of bounds messages for people who
build the Force image with a non-default
Docker builder.

Put the force-udf layer first since
that does not change frequently,
and add the repository directly
so the Docker cache can be used
to speed up the image build.
The non-default Docker builders can fail
with some incomprehensible message about
index out of bounds when they fail to resolve
user names. Use the numerical UID/GID
for now to avoid that problem.
This puts the updates from the copy
in a separate layer, which is what
one wants usually.
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