-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔨 Merge changes and add missing build image
- Loading branch information
Showing
4 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,13 +5,25 @@ FROM ${BUILD_FROM} | |
# Install packages | ||
# hadolint ignore=DL3003 | ||
RUN \ | ||
apk add --no-cache \ | ||
nodejs-current=11.3.0-r0 \ | ||
apk add --no-cache --virtual .build-dependencies \ | ||
yarn=1.12.3-r0 \ | ||
\ | ||
&& yarn global add [email protected] \ | ||
&& apk add --no-cache \ | ||
nodejs-current=11.3.0-r0 \ | ||
\ | ||
&& yarn global add \ | ||
modclean \ | ||
[email protected] \ | ||
\ | ||
&& modclean \ | ||
--path /usr/local/share/.config/yarn/global \ | ||
--no-progress \ | ||
--keep-empty \ | ||
--run \ | ||
\ | ||
&& yarn global remove modclean \ | ||
&& yarn cache clean \ | ||
&& apk del --purge .build-dependencies \ | ||
&& rm -fr /tmp/* | ||
|
||
# Copy root filesystem | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters