-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a mostly straightforward upgrade. Just a few notes: - The lockfile format has changed so gets rewritten entirely. - webpack is bumped to the next dot release. This adds a workaround caused by Node switching to OpenSSL 3, which drops md4 as a hash function (webpack/webpack#17628). - node-sass did not build on the new node so had to be updated. - I've updated playwright to take advantage of its added support for installing dependencies on Debian, removing the hardcoded list of packages we had to install. There's a whole bunch of updates we could do to our NodeJS dependencies, but I've left that for a later point since they aren't urgent or necessarily trivial.
- Loading branch information
Showing
6 changed files
with
18,819 additions
and
14,049 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
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 |
---|---|---|
@@ -1,15 +1,7 @@ | ||
ARG GIT_ID="UNKNOWN" | ||
FROM mrcide/mint-shared-build-env:$GIT_ID | ||
|
||
RUN cd app/static && npx playwright install chromium | ||
|
||
# Playwright has a `install-deps` command we could use instead of this, except | ||
# we use an old version of playwright which doesn't support Debian. We can't | ||
# update playwright because our node version is too old. | ||
RUN apt-get install -y \ | ||
libnss3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 \ | ||
libx11-xcb1 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 \ | ||
libxshmfence1 | ||
RUN cd app/static && npx playwright install --with-deps chromium | ||
|
||
CMD ./gradlew app:bootRun & sleep 90 && \ | ||
npm run e2e-test --prefix=app/static |
Oops, something went wrong.