-
Notifications
You must be signed in to change notification settings - Fork 681
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dockerfile to use apt build and add quay push
- Loading branch information
1 parent
6ef38be
commit 1fa5fab
Showing
2 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters