Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
demo.typo3.org
demo.typo3.org TYPO3 Installation
Commits
e6f0d2f3
Commit
e6f0d2f3
authored
Apr 08, 2021
by
Matthias Stegmann
Browse files
[TASK] Use fixed node version, include in web docker image
#21
parent
9ea7a15d
Pipeline
#10547
passed with stages
in 6 minutes and 40 seconds
Changes
6
Pipelines
3
Expand all
Hide whitespace changes
Inline
Side-by-side
.ddev/web-build/Dockerfile
0 → 100644
View file @
e6f0d2f3
ARG
BASE_IMAGE
FROM
$BASE_IMAGE
ENV
NODE_VERSION=14
RUN
sudo
apt-get remove
-y
nodejs
RUN
curl
-sSL
--fail
https://deb.nodesource.com/setup_
${
NODE_VERSION
}
.x | bash -
RUN
apt-get update
&&
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
-o
Dpkg::Options::
=
"--force-confold"
--no-install-recommends
--no-install-suggests
nodejs
.gitlab-ci.yml
View file @
e6f0d2f3
...
...
@@ -53,7 +53,7 @@ build:php:
# compile and build JS / CSS
# should be used in conjunction with an artifact
.frontend_bootstrap
:
&frontend-bootstrap
image
:
node:1
2
.1
9
-buster
image
:
node:1
4
.1
6
-buster
variables
:
node_path
:
src/webpack
script
:
...
...
composer.json
View file @
e6f0d2f3
...
...
@@ -73,7 +73,8 @@
"@php bin/typo3cms install:generatepackagestates"
],
"frontend-builds"
:
[
"cd src/webpack; nvm use; yarn install; yarn build-prod"
"if [
\"
$IS_DDEV_PROJECT
\"
!=
\"
1
\"
]; then export PATH=$HOME/.nvm/versions/node/v14.16.1/bin:$PATH; fi"
,
"cd src/webpack; yarn install; yarn build-prod"
],
"post-update-cmd"
:
[
"@typo3-setup"
...
...
src/webpack/.nvmrc
View file @
e6f0d2f3
v1
2
.1
9
v1
4
.1
6
src/webpack/package.json
View file @
e6f0d2f3
...
...
@@ -4,8 +4,8 @@
"private"
:
true
,
"version"
:
"1.0.0"
,
"engines"
:
{
"node"
:
"^1
2
.1
9
"
,
"yarn"
:
"^1.
13
.0"
"node"
:
"^1
4
.1
6.0
"
,
"yarn"
:
"^1.
22
.0"
},
"author"
:
{
"name"
:
"b13 GmbH"
,
...
...
@@ -51,8 +51,6 @@
"webpack-merge"
:
"^4.2.2"
},
"devDependencies"
:
{
"sass-lint"
:
"^1.13.1"
,
"sass-lint-config"
:
"https://code.b13.com/public-projects/sass-lint-config.git"
,
"webpack-dev-server"
:
"^3.1.4"
}
}
src/webpack/yarn.lock
View file @
e6f0d2f3
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment