Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
quassel-rest-search
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Janne Mareike Koschinski
quassel-rest-search
Commits
95ce0c08
Verified
Commit
95ce0c08
authored
5 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Improved dockerfile
parent
058cc83b
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+6
-5
6 additions, 5 deletions
Dockerfile
build.sh
+9
-0
9 additions, 0 deletions
build.sh
with
15 additions
and
5 deletions
Dockerfile
+
6
−
5
View file @
95ce0c08
FROM
php:7.3-apache
FROM
k8r.eu/justjanne/php:latest
RUN
apt-get update
&&
apt-get
install
-y
\
libpq-dev
\
libsqlite3-dev
RUN
apk add
--no-cache
--update
\
php-json
\
php-pdo_sqlite
\
php-pdo_pgsql
RUN
docker-php-ext-install pdo pdo_pgsql pdo_sqlite
USER
nobody
ADD
. /var/www/html/
\ No newline at end of file
This diff is collapsed.
Click to expand it.
build.sh
0 → 100755
+
9
−
0
View file @
95ce0c08
#!/bin/sh
IMAGE
=
k8r.eu/justjanne/quassel-rest-search
TAGS
=
$(
git describe
--always
--tags
HEAD
)
docker build
-t
$IMAGE
:
$TAGS
.
docker tag
$IMAGE
:
$TAGS
$IMAGE
:latest
echo
Successfully tagged
$IMAGE
:latest
docker push
$IMAGE
:
$TAGS
docker push
$IMAGE
:latest
\ No newline at end of file
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