mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-28 11:46:07 +08:00
Update dockerfile to use apt build and add quay push
This commit is contained in:
18
Dockerfile
18
Dockerfile
@@ -1,17 +1,13 @@
|
||||
# Run in Ubuntu
|
||||
FROM ubuntu:xenial
|
||||
|
||||
# Create directory for build
|
||||
RUN mkdir -p /src/blockstack
|
||||
# Update apt and install wget
|
||||
RUN apt update && apt install -y wget
|
||||
|
||||
# Copy in source files
|
||||
COPY . /src/blockstack
|
||||
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
|
||||
RUN apt-get update && apt-get install -y python-pip python-dev build-essential apt-utils libssl-dev libffi-dev rng-tools libgmp3-dev sudo software-properties-common sqlite3 lsof
|
||||
RUN pip2 install --upgrade pip
|
||||
RUN pip2 install --upgrade virtualenv
|
||||
# Install blockstack
|
||||
RUN apt update && apt install -y blockstack
|
||||
|
||||
# Build Blockstack
|
||||
RUN pip2 install . --upgrade
|
||||
Reference in New Issue
Block a user