mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Address comments
- Fix nitpicks - Remove -e flag while installing because it is not needed - Remove unwanted env variables - Update some docs
This commit is contained in:
parent
7c7b824294
commit
d3216bc2c8
@ -7,7 +7,6 @@ RUN apt-get -qq update \
|
||||
&& apt-get -y upgrade \
|
||||
&& apt-get install -y jq \
|
||||
&& pip install --no-cache-dir --process-dependency-links . \
|
||||
&& pip install --no-cache-dir . \
|
||||
&& apt-get autoremove \
|
||||
&& apt-get clean
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
FROM alpine:latest
|
||||
FROM alpine:latest
|
||||
LABEL maintainer "dev@bigchaindb.com"
|
||||
|
||||
ARG TM_VERSION=0.22.8
|
||||
@ -13,7 +13,7 @@ RUN apk --update add sudo bash \
|
||||
libffi-dev openssl-dev build-base jq \
|
||||
&& apk add --no-cache libstdc++ dpkg gnupg \
|
||||
&& pip3 install --upgrade pip cffi \
|
||||
&& pip install --no-cache-dir --process-dependency-links -e .[dev] \
|
||||
&& pip install --no-cache-dir --process-dependency-links . \
|
||||
&& apk del build-dependencies \
|
||||
&& rm -f /var/cache/apk/*
|
||||
|
||||
@ -35,10 +35,6 @@ RUN addgroup tmuser \
|
||||
RUN mkdir -p /data/db /data/configdb \
|
||||
&& chown -R mongodb:mongodb /data/db /data/configdb
|
||||
|
||||
# When developing with Python in a docker container, we are using PYTHONBUFFERED
|
||||
# to force stdin, stdout and stderr to be totally unbuffered and to capture logs/outputs
|
||||
ENV PYTHONUNBUFFERED 0
|
||||
|
||||
# BigchainDB enviroment variables
|
||||
ENV BIGCHAINDB_DATABASE_PORT 27017
|
||||
ENV BIGCHAINDB_DATABASE_BACKEND localmongodb
|
||||
|
||||
@ -13,8 +13,11 @@ This image contains all the services required for a BigchainDB node i.e.
|
||||
- MongoDB
|
||||
- Tendermint
|
||||
|
||||
*We understand that it is an anti-pattern to run multiple services inside a docker.*
|
||||
*This image is to help quick deployment for early adopters*
|
||||
**Note:** *This image is to help quick deployment for early adopters, for a more standard*
|
||||
*approach please refer to one of our deployment guides:*
|
||||
|
||||
- [BigchainDB developer setup guides](https://docs.bigchaindb.com/projects/contributing/en/latest/dev-setup-coding-and-contribution-process/index.html).
|
||||
- [BigchainDB with Kubernetes](http://docs.bigchaindb.com/projects/server/en/latest/production-deployment-template/index.html).
|
||||
|
||||
## Prerequisite(s)
|
||||
- [Docker](https://docs.docker.com/engine/installation/)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user