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
89c3b754
Commit
89c3b754
authored
6 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Add aliases and scripts for ahoy, composer, docker-compose and drush
parent
111c7a57
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#5840
failed
6 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+9
-2
9 additions, 2 deletions
Dockerfile
drush.sh
+3
-0
3 additions, 0 deletions
drush.sh
with
12 additions
and
2 deletions
Dockerfile
+
9
−
2
View file @
89c3b754
...
...
@@ -2,7 +2,7 @@ FROM alpine:3.7
LABEL
com.example.vendor="LakeDrops" \
maintainer="juergen.haas@lakedrops.com" \
version="1.2.
0
" \
version="1.2.
1
" \
description="An image for GitLab runner to build and test Drupal projects."
ARG
compose_version=1.21.2
...
...
@@ -95,4 +95,11 @@ RUN mkdir -p /root/.ssh && \
cd
..
&&
\
rm
-rf
git-extras
&&
\
\
composer global require
"hirak/prestissimo:^0.3"
composer global require
"hirak/prestissimo:^0.3"
&&
\
\
ln
-s
/usr/local/bin/ahoy /usr/local/bin/a
&&
\
ln
-s
/usr/local/bin/composer /usr/local/bin/c
&&
\
ln
-s
/usr/local/bin/docker-compose /usr/local/bin/d-c
&&
\
\
COPY
drush.sh /usr/local/bin/drush
This diff is collapsed.
Click to expand it.
drush.sh
0 → 100755
+
3
−
0
View file @
89c3b754
#!/bin/sh
docker-compose
exec
--user
root php drush
$@
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