-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[minor] Updated alpine to 3.19.1 (#330)
* [minor] Updated alpine to 3.19.1 - Custom nodejs package to support code-server. - Update imagemagick / leptonica. - PHP/FPM 8.3 * Update composer from 2.6.5 to 2.7.2 * Updated solr 9.4.1 to 9.5.0 * Update matomo from 5.0.2 to 5.0.3 * Update fcrepo from 6.4.1 to 6.5.0 * Update tomcat from 9.0.84 to 9.0.87 * Update starter site from 1.2.0 to 1.5.0
- Loading branch information
1 parent
c620f62
commit 997a932
Showing
31 changed files
with
1,970 additions
and
1,927 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# syntax=docker/dockerfile:1.5.1 | ||
FROM nodejs | ||
FROM drupal | ||
|
||
ARG TARGETARCH | ||
|
@@ -11,6 +12,17 @@ ARG GLIBC_SHA256="276f43ce9b2d5878422bca94ca94e882a7eb263abe171d233ac037201ffcaf | |
EXPOSE 8443 \ | ||
9003 | ||
|
||
RUN --mount=type=cache,id=code-server-apk-${TARGETARCH},sharing=locked,target=/var/cache/apk \ | ||
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub && \ | ||
download.sh \ | ||
--url "${GLIBC_URL}" \ | ||
--sha256 "${GLIBC_SHA256}" \ | ||
&& \ | ||
apk add "${DOWNLOAD_CACHE_DIRECTORY}/${GLIBC_FILE}" && \ | ||
mkdir /lib64 && \ | ||
ln -s /lib/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2 && \ | ||
cleanup.sh | ||
|
||
RUN --mount=type=bind,source=rootfs/var/lib/nginx/.composer,target=/composer \ | ||
--mount=type=cache,id=code-server-composer-${TARGETARCH},sharing=locked,target=/var/lib/nginx/.composer/cache \ | ||
mkdir -p /var/lib/nginx/.composer && \ | ||
|
@@ -22,40 +34,35 @@ RUN --mount=type=bind,source=rootfs/var/lib/nginx/.composer,target=/composer \ | |
# Include commonly used tools and xdebug. | ||
# PHPStorm remote requries Glibc. | ||
RUN --mount=type=cache,id=code-server-apk-${TARGETARCH},sharing=locked,target=/var/cache/apk \ | ||
--mount=type=bind,from=nodejs,source=/packages,target=/packages \ | ||
--mount=type=bind,from=nodejs,source=/etc/apk/keys,target=/etc/apk/keys \ | ||
apk add \ | ||
/packages/nodejs-*.apk \ | ||
alpine-sdk \ | ||
docker-cli \ | ||
htop \ | ||
nodejs \ | ||
krb5-dev \ | ||
openssh \ | ||
parallel \ | ||
php82-pecl-xdebug \ | ||
php83-pecl-xdebug \ | ||
python3 \ | ||
spdlog \ | ||
sudo \ | ||
unison \ | ||
yarn \ | ||
&& \ | ||
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub && \ | ||
download.sh \ | ||
--url "${GLIBC_URL}" \ | ||
--sha256 "${GLIBC_SHA256}" \ | ||
&& \ | ||
apk add "${DOWNLOAD_CACHE_DIRECTORY}/${GLIBC_FILE}" && \ | ||
mkdir /lib64 && \ | ||
ln -s /lib/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2 && \ | ||
cleanup.sh | ||
|
||
RUN --mount=type=cache,id=code-server-npm-${TARGETARCH},sharing=locked,target=/usr/local/share/.cache/yarn \ | ||
yarn global add [email protected] && \ | ||
FORCE_NODE_VERSION=18 yarn global add --ignore-engines --unsafe-perm \ | ||
@microsoft/[email protected].9 \ | ||
code-server@4.11.0 \ | ||
[email protected].8 \ | ||
yarn global add --ignore-engines --unsafe-perm \ | ||
@microsoft/1ds-core-js@^3.2.13 \ | ||
code-server@4.22.1 \ | ||
minimist@^1.2.6 \ | ||
[email protected] \ | ||
spdlog@0.13.7 \ | ||
yauzl@2.10.0 \ | ||
yazl@2.5.1 \ | ||
@vscode/spdlog@^0.15.0 \ | ||
yauzl@^2.9.2 \ | ||
yazl@^2.4.3 \ | ||
&& \ | ||
cleanup.sh | ||
|
||
|
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
Oops, something went wrong.