Skip to content

Commit f6ea377

Browse files
author
Shlomi Noach
committed
Dockerfile.packaging
1 parent 40953fe commit f6ea377

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

Dockerfile.packaging

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Requires Docker 17.09 or later (multi stage builds)
2+
#
3+
# Orchestrator will look for a configuration file at /etc/orchestrator.conf.json.
4+
# It will listen on port 3000.
5+
# If not present a minimal configuration will be generated using the following environment variables:
6+
#
7+
# Default variables which can be used are:
8+
#
9+
# ORC_TOPOLOGY_USER (default: orchestrator): username used by orchestrator to login to MySQL when polling/discovering
10+
# ORC_TOPOLOGY_PASSWORD (default: orchestrator): password needed to login to MySQL when polling/discovering
11+
# ORC_DB_HOST (default: orchestrator): orchestrator backend MySQL host
12+
# ORC_DB_PORT (default: 3306): port used by orchestrator backend MySQL server
13+
# ORC_DB_NAME (default: orchestrator): database named used by orchestrator backend MySQL server
14+
# ORC_USER (default: orc_server_user): username used to login to orchestrator backend MySQL server
15+
# ORC_PASSWORD (default: orc_server_password): password used to login to orchestrator backend MySQL server
16+
17+
FROM golang:1.12.6
18+
19+
RUN apt-get update
20+
RUN apt-get install -y ruby ruby-dev rubygems build-essential
21+
RUN gem install --no-ri --no-rdoc fpm
22+
ENV GOPATH=/tmp/go
23+
24+
RUN apt-get install -y curl
25+
RUN apt-get install -y rsync
26+
RUN apt-get install -y gcc
27+
RUN apt-get install -y g++
28+
RUN apt-get install -y bash
29+
RUN apt-get install -y git
30+
RUN apt-get install -y tar
31+
RUN apt-get install -y rpm
32+
33+
RUN mkdir -p $GOPATH/src/github.com/github/gh-ost
34+
WORKDIR $GOPATH/src/github.com/github/gh-ost
35+
COPY . .
36+
RUN bash build.sh

0 commit comments

Comments
 (0)