Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
barry cho
Rancher
Commits
810ec86c
Commit
810ec86c
authored
8 years ago
by
Darren Shepherd
Browse files
Options
Download
Email Patches
Plain Diff
v1.5.4-rc1
parent
133bc216
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server/Dockerfile
+5
-5
server/Dockerfile
with
5 additions
and
5 deletions
+5
-5
server/Dockerfile
+
5
-
5
View file @
810ec86c
...
...
@@ -38,20 +38,20 @@ COPY target/*static.tar.gz /s6-statics/
EXPOSE
8080
ENV
CATTLE_HOST_API_PROXY_MODE embedded
ENV
CATTLE_RANCHER_SERVER_VERSION v1.5.
3-try2
ENV
CATTLE_RANCHER_SERVER_VERSION v1.5.
4-rc1
ENV
CATTLE_RANCHER_COMPOSE_VERSION v0.12.4
ENV
DEFAULT_CATTLE_RANCHER_COMPOSE_LINUX_URL https://releases.rancher.com/compose/${CATTLE_RANCHER_COMPOSE_VERSION}/rancher-compose-linux-amd64-${CATTLE_RANCHER_COMPOSE_VERSION}.tar.gz
ENV
DEFAULT_CATTLE_RANCHER_COMPOSE_DARWIN_URL https://releases.rancher.com/compose/${CATTLE_RANCHER_COMPOSE_VERSION}/rancher-compose-darwin-amd64-${CATTLE_RANCHER_COMPOSE_VERSION}.tar.gz
ENV
DEFAULT_CATTLE_RANCHER_COMPOSE_WINDOWS_URL https://releases.rancher.com/compose/${CATTLE_RANCHER_COMPOSE_VERSION}/rancher-compose-windows-386-${CATTLE_RANCHER_COMPOSE_VERSION}.zip
ENV
CATTLE_RANCHER_CLI_VERSION v0.5.1
ENV
CATTLE_RANCHER_CLI_VERSION v0.5.
2-rc
1
ENV
DEFAULT_CATTLE_RANCHER_CLI_LINUX_URL https://releases.rancher.com/cli/${CATTLE_RANCHER_CLI_VERSION}/rancher-linux-amd64-${CATTLE_RANCHER_CLI_VERSION}.tar.gz
ENV
DEFAULT_CATTLE_RANCHER_CLI_DARWIN_URL https://releases.rancher.com/cli/${CATTLE_RANCHER_CLI_VERSION}/rancher-darwin-amd64-${CATTLE_RANCHER_CLI_VERSION}.tar.gz
ENV
DEFAULT_CATTLE_RANCHER_CLI_WINDOWS_URL https://releases.rancher.com/cli/${CATTLE_RANCHER_CLI_VERSION}/rancher-windows-386-${CATTLE_RANCHER_CLI_VERSION}.zip
ENV
DEFAULT_CATTLE_CATALOG_URL='{"catalogs":{"community":{"url":"https://git.rancher.io/community-catalog.git","branch":"master"},"library":{"url":"https://git.rancher.io/rancher-catalog.git","branch":"
master
"}}}'
ENV
DEFAULT_CATTLE_CATALOG_URL='{"catalogs":{"community":{"url":"https://git.rancher.io/community-catalog.git","branch":"master"},"library":{"url":"https://git.rancher.io/rancher-catalog.git","branch":"
v1.5.4-rc1
"}}}'
EXPOSE
3306
ENV
CATTLE_CATTLE_VERSION v0.17
7.1
0
ENV
CATTLE_CATTLE_VERSION v0.17
8.
0
ADD
https://github.com/rancherio/cattle/releases/download/${CATTLE_CATTLE_VERSION}/cattle.jar /usr/share/cattle/
RUN
cd
/
&&
for
i
in
$(
ls
/s6-statics/
*
static.tar.gz
)
;
do
tar
-C
/usr
-zxvf
$i
;
done
&&
rm
-rf
/s6-statics/
*
static.tar.gz
&&
\
...
...
@@ -65,7 +65,7 @@ RUN cd / && for i in $(ls /s6-statics/*static.tar.gz);do tar -C /usr -zxvf $i;do
cd
$CATTLE_HOME
&&
export
IFS
=
","
&&
\
echo
"
$DEFAULT_CATTLE_CATALOG_URL
"
>
repo.json
&&
\
cat
repo.json
&&
\
rancher-catalog-service
--sqlite
--validate
--config
repo.json
&&
\
rancher-catalog-service
-sqlite
--sqlite
--validate
--config
repo.json
&&
\
for
i
in
cache/
*
/
*
;
do
[
-d
$i
]
&&
touch
$i
/.nopurge
;
done
VOLUME
/var/lib/mysql /var/log/mysql /var/lib/cattle
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment