druidfi/donn
Docker image which compiles CSS (from SASS) and JS files.
325
Docker image which compiles CSS (from SASS) and JS files.
Docker Hub has variants for Node 16 and 18 (arm64 and amd64).
src/scss
which contains SASS files.src/js
which contains JavaScript files.Examples on Drupal project:
docker run -it --rm -v $(pwd)/path/to/theme:/data druidfi/donn:node-18 gulp production
docker run -it --rm -v $(pwd)/path/to/theme:/data druidfi/donn:node-18 gulp development
docker run -it --rm -v $(pwd)/path/to/theme:/data druidfi/donn:node-18 gulp watch
Environment variables (and their default values) which can be used to change configuration:
BROWSERSLIST="last 2 version, not dead"
DIST_FOLDER=dist
SRC_FOLDER=src
Locally with M1:
docker buildx bake -f docker-bake.hcl --pull --progress plain --no-cache --load --set "*.platform=linux/arm64"
Build and push images to Docker Hub:
docker buildx bake -f docker-bake.hcl --pull --no-cache --push
In Irish mythology, Donn ("the dark one", from Proto-Celtic: *Dhuosnos) is an ancestor of the Gaels and is believed to have been a god of the dead. Donn is said to dwell in Tech Duinn (the "house of Donn" or "house of the dark one"), where the souls of the dead gather.
docker pull druidfi/donn