Closed jeohist closed 5 days ago
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
/cc @skycaptain ;)
LGTM. Just a smaller detail, I would move the line RUN apk add --no-cache git
before COPY --from=builder /src/*.tgz ./
, to improve layer caching.
LGTM. Just a smaller detail, I would move the line
RUN apk add --no-cache git
beforeCOPY --from=builder /src/*.tgz ./
, to improve layer caching.
Good point! I've fixed it and pushed the changes.
@jeohist would you mind removing the (container)
scope from the commit message. It's not one of the commitlint scopes which are just the package names.
Since the last release and looking at the changelog I'm still asking myself if this really a feat/fix for commitlint or more like a chore
or a ci
kinda type. wdyt?
@escapedcat Sure, amended the commit message. I think fix(ci)
would work best, I don't think it's a chore
(which I associate more with regular gruntwork) since it fixes broken functionality. But it also doesn't affect the core product, just one of the ways to implement it.
Uhm, would you mind changing it to i.e.
ci: fix install git in container
The idea is that this is not fixing anything for commitlint itself. ci
is not a scope as well, but it is a type.
I feel like that accepting the container change as a feat
was already wrong.
Sorry for making this complicated than it should be.
No worries 😄
Interesting point. Given the nature of this project, keeping a close eye on commit messages is essential 😀. I initially chose to commit the change as feat:
because the documentation mentions using the image for CI and I therefore considered the image an integral part of the "product." Maybe, build:
might have been a more appropriate option though.
@skycaptain thanks, I didn't even see build
.... sorry @jeohist , please one more time and then we're good, I'll promise ;)
Thanks everyone!
Install git in container.
Description
git is not copied from the builder layer to the final layer, so we have to install it again.
Motivation and Context
With the switch to Alpine in #4185,
--from-last-tag
(and possibly other arguments relying on git) no longer works. This is because git is no longer available in the container. See #4196How Has This Been Tested?
Tested locally by using the new image in combinat
Types of changes
Checklist: