mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-10 08:50:49 +08:00
The updated version of the dockerfile reduces the size of the docker image which is created. This would drastically reduce the size of the docker image.
17 lines
402 B
Docker
17 lines
402 B
Docker
FROM ubuntu:xenial
|
|
|
|
WORKDIR /src/blockstack
|
|
|
|
# Install dependencies from apt
|
|
RUN apt-get -y update && \
|
|
apt-get install -y python-pip python-dev libssl-dev libffi-dev rng-tools libgmp3-dev lsof
|
|
|
|
# Copy all files from the repo into the container
|
|
COPY . .
|
|
|
|
# Upgrade pip and install pyparsing
|
|
RUN pip install --upgrade pip && pip install pyparsing
|
|
|
|
# Install Blockstack from source
|
|
RUN pip install .
|