Browse Source
Fix alpine version, use version for leveldb-dev (#54)
pull/57/head
dmeyerholt
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
Dockerfile
|
|
@ -1,4 +1,4 @@ |
|
|
|
FROM python:3.7-alpine3.9 |
|
|
|
FROM python:3.7-alpine3.11 |
|
|
|
LABEL maintainer="Luke Childs <lukechilds123@gmail.com>" |
|
|
|
|
|
|
|
COPY ./bin /usr/local/bin |
|
|
@ -7,7 +7,7 @@ COPY ./VERSION /tmp |
|
|
|
RUN VERSION=$(cat /tmp/VERSION) && \ |
|
|
|
chmod a+x /usr/local/bin/* && \ |
|
|
|
apk add --no-cache git build-base openssl && \ |
|
|
|
apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main leveldb-dev && \ |
|
|
|
apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/v3.11/main leveldb-dev && \ |
|
|
|
apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing rocksdb-dev && \ |
|
|
|
pip install aiohttp pylru plyvel websockets python-rocksdb && \ |
|
|
|
git clone -b $VERSION https://github.com/kyuupichan/electrumx.git && \ |
|
|
|