Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
RocketChat
Rocket.Chat
Commits
9f808fc3
Unverified
Commit
9f808fc3
authored
8 years ago
by
Gabriel Engel
Browse files
Options
Downloads
Patches
Plain Diff
added docker image creation for experimental branch
parent
d5a9b065
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.docker/experimental/Dockerfile
+32
-0
32 additions, 0 deletions
.docker/experimental/Dockerfile
.travis.yml
+1
-0
1 addition, 0 deletions
.travis.yml
.travis/setartname.sh
+1
-1
1 addition, 1 deletion
.travis/setartname.sh
with
34 additions
and
1 deletion
.docker/experimental/Dockerfile
0 → 100644
+
32
−
0
View file @
9f808fc3
FROM
rocketchat/base:4
ENV
RC_VERSION experimental
MAINTAINER
buildmaster@rocket.chat
VOLUME
/app/uploads
RUN
set
-x
\
&&
curl
-SLf
"https://rocket.chat/releases/
${
RC_VERSION
}
/download"
-o
rocket.chat.tgz
\
&&
curl
-SLf
"https://rocket.chat/releases/
${
RC_VERSION
}
/asc"
-o
rocket.chat.tgz.asc
\
&&
gpg
--verify
rocket.chat.tgz.asc
\
&&
tar
-zxf
rocket.chat.tgz
-C
/app
\
&&
rm
rocket.chat.tgz rocket.chat.tgz.asc
\
&&
cd
/app/bundle/programs/server
\
&&
npm
install
\
&&
npm cache clear
USER
rocketchat
WORKDIR
/app/bundle
# needs a mongoinstance - defaults to container linking with alias 'mongo'
ENV
MONGO_URL=mongodb://mongo:27017/rocketchat \
HOME=/tmp \
PORT=3000 \
ROOT_URL=http://localhost:3000 \
Accounts_AvatarStorePath=/app/uploads
EXPOSE
3000
CMD
["node", "main.js"]
This diff is collapsed.
Click to expand it.
.travis.yml
+
1
−
0
View file @
9f808fc3
...
...
@@ -4,6 +4,7 @@ services:
branches
:
only
:
-
develop
-
experimental
-
"
/^(
\\
d+
\\
.)?(
\\
d+
\\
.)?(
\\
*|
\\
d+)$/"
git
:
depth
:
1
...
...
This diff is collapsed.
Click to expand it.
.travis/setartname.sh
+
1
−
1
View file @
9f808fc3
...
...
@@ -2,5 +2,5 @@ if [[ $TRAVIS_TAG ]]
then
export
ARTIFACT_NAME
=
"
$TRAVIS_TAG
"
;
else
export
ARTIFACT_NAME
=
"
develop
"
;
export
ARTIFACT_NAME
=
"
$TRAVIS_BRANCH
"
;
fi
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