Permalink
Newer
100644
43 lines (32 sloc)
1.66 KB
6
release="1" \
7
summary="CockroachDB is a cloud-native SQL database for building global, scalable cloud services that survive disasters." \
8
description="CockroachDB is a distributed SQL database that uses the PostgreSQL wire protocol, so there are a huge variety of client drivers and ORMs that you can use to talk to it. To get started, see https://www.cockroachlabs.com/docs/stable/build-an-app-with-cockroachdb.html" \
9
url="https://www.cockroachlabs.com" \
10
io.k8s.description="CockroachDB is a distributed SQL database that uses the PostgreSQL wire protocol, so there are a huge variety of client drivers and ORMs that you can use to talk to it. To get started, see https://www.cockroachlabs.com/docs/stable/build-an-app-with-cockroachdb.html" \
11
io.k8s.display-name="CockroachDB" \
12
io.openshift.expose-services="26257/tcp,8080/tcp" \
13
io.openshift.tags="cockroachdb,sql"
14
15
# Atomic Help File
16
COPY help.1 /help.1
17
18
# Licenses
20
21
# Start script and CockroachDB binary
22
RUN mkdir -p /cockroach
23
COPY cockroach.sh cockroach /cockroach/
24
25
# Set perms to support non-root & arbitrary uid runtime in OpenShift
26
RUN chown -R 99:0 /cockroach && \
27
chmod -R 775 /cockroach
28
29
# Set working directory so that relative paths
30
# are resolved appropriately when passed as args.