mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-16 22:18:53 +08:00
update the core container to install via pip rather than apt
This commit is contained in:
19
Dockerfile
19
Dockerfile
@@ -1,13 +1,16 @@
|
||||
# Run in Ubuntu
|
||||
FROM ubuntu:xenial
|
||||
|
||||
# Update apt and install wget
|
||||
RUN apt update && apt install -y wget
|
||||
WORKDIR /src/blockstack
|
||||
|
||||
# Add blockstack apt repo
|
||||
RUN wget -qO - https://raw.githubusercontent.com/blockstack/packaging/master/repo-key.pub | apt-key add -
|
||||
RUN echo 'deb http://packages.blockstack.com/repositories/ubuntu/ xenial main' > /etc/apt/sources.list.d/blockstack.list
|
||||
# Install dependancies from apt
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y python-pip python-dev libssl-dev libffi-dev rng-tools libgmp3-dev lsof
|
||||
|
||||
# Install blockstack
|
||||
RUN apt update && apt install -y blockstack
|
||||
# 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 .
|
||||
|
||||
Reference in New Issue
Block a user