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
4789c389
Unverified
Commit
4789c389
authored
8 years ago
by
Diego Sampaio
Browse files
Options
Downloads
Patches
Plain Diff
Add release-candidate version
parent
9323473b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.docker/release-candidate/Dockerfile
+35
-0
35 additions, 0 deletions
.docker/release-candidate/Dockerfile
.travis.yml
+3
-3
3 additions, 3 deletions
.travis.yml
with
38 additions
and
3 deletions
.docker/release-candidate/Dockerfile
0 → 100644
+
35
−
0
View file @
4789c389
FROM
rocketchat/base:4
ENV
RC_VERSION release-candidate
MAINTAINER
buildmaster@rocket.chat
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
\
&&
mkdir
/app
\
&&
gpg
--verify
rocket.chat.tgz.asc
\
&&
mkdir
-p
/app
\
&&
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
\
&&
chown
-R
rocketchat:rocketchat /app
USER
rocketchat
VOLUME
/app/uploads
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
+
3
−
3
View file @
4789c389
...
...
@@ -5,8 +5,8 @@ services:
branches
:
only
:
-
develop
-
experimental
-
"
/^
(
\\
d+
\\
.
)?(
\\
d+
\\
.
)?(
\\
*|
\\
d+)$/"
-
release-candidate
-
"
/^
\\
d+
\\
.
\\
d+
\\
.
\\
d+(-rc
\\
.
\\
d+)
?
$/"
git
:
depth
:
1
node_js
:
...
...
@@ -86,7 +86,7 @@ deploy:
after_deploy
:
-
"
.travis/docker.sh"
-
"
.travis/update-releases.sh"
-
"
.travis/snap.sh"
#
- ".travis/snap.sh"
env
:
global
:
-
DISPLAY=:99.0
...
...
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