Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GitLab Drupal CI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
GitLab Drupal CI
Commits
612ee528
Commit
612ee528
authored
6 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
l3d#21
Use the node image including the build tools
parent
2d4fc694
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#6465
passed
6 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/node
+1
-1
1 addition, 1 deletion
bin/node
bin/npm
+1
-1
1 addition, 1 deletion
bin/npm
with
2 additions
and
2 deletions
bin/node
+
1
−
1
View file @
612ee528
...
...
@@ -5,6 +5,6 @@ ID=$(docker container ls --all -q -f name=^${NAME}$)
if
[[
-n
${
ID
}
]]
;
then
docker start
${
NAME
}
>
/dev/null
else
docker run
--init
-itd
--name
=
${
NAME
}
-v
$(
php /usr/local/bin/volume.php
)
-w
${
PWD
}
node:8-jessie-slim
>
/dev/null
docker run
--init
-itd
--name
=
${
NAME
}
-v
$(
php /usr/local/bin/volume.php
)
-w
${
PWD
}
registry.lakedrops.com/docker/
node:8-jessie-slim
>
/dev/null
fi
docker
exec
-it
-w
${
PWD
}
${
NAME
}
node
$@
This diff is collapsed.
Click to expand it.
bin/npm
+
1
−
1
View file @
612ee528
...
...
@@ -5,6 +5,6 @@ ID=$(docker container ls --all -q -f name=^${NAME}$)
if
[[
-n
${
ID
}
]]
;
then
docker start
${
NAME
}
>
/dev/null
else
docker run
--init
-itd
--name
=
${
NAME
}
-v
$(
php /usr/local/bin/volume.php
)
-w
${
PWD
}
node:8-jessie-slim
>
/dev/null
docker run
--init
-itd
--name
=
${
NAME
}
-v
$(
php /usr/local/bin/volume.php
)
-w
${
PWD
}
registry.lakedrops.com/docker/
node:8-jessie-slim
>
/dev/null
fi
docker
exec
-it
-w
${
PWD
}
${
NAME
}
npm
$@
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment