mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
Merge 19224abddf into 506c927791
This commit is contained in:
commit
b131573975
2 changed files with 29 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -15,6 +15,7 @@
|
||||||
*/**/*dapps*
|
*/**/*dapps*
|
||||||
Godeps/_workspace/pkg
|
Godeps/_workspace/pkg
|
||||||
Godeps/_workspace/bin
|
Godeps/_workspace/bin
|
||||||
|
.idea
|
||||||
|
|
||||||
#*
|
#*
|
||||||
.#*
|
.#*
|
||||||
|
|
|
||||||
28
docker/Dockerfile-alpine
Normal file
28
docker/Dockerfile-alpine
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
FROM jeanblanchard/alpine-glibc
|
||||||
|
MAINTAINER Jim Alateras <jima@comware.com.au>
|
||||||
|
|
||||||
|
ENV APP_HOME /app
|
||||||
|
ENV APP_USER ethereum
|
||||||
|
ENV APP_GROUP ethereum
|
||||||
|
ENV PATH $APP_HOME:$PATH
|
||||||
|
ENV ETHEREUM_BIN=https://github.com/ethereum/go-ethereum/releases/download/v1.3.5/geth-Linux64-20160303152500-1.3.5-34b622a.tar.bz2
|
||||||
|
|
||||||
|
RUN \
|
||||||
|
addgroup -S $APP_USER && \
|
||||||
|
adduser -S -s /bin/bash -G $APP_GROUP $APP_USER
|
||||||
|
|
||||||
|
RUN \
|
||||||
|
apk add --update bash wget && \
|
||||||
|
mkdir -p $APP_HOME && \
|
||||||
|
cd $APP_HOME && \
|
||||||
|
wget -qO- --no-check-certificate $ETHEREUM_BIN | tar xvjf - && \
|
||||||
|
chown -R $APP_USER:$APP_GROUP $APP_HOME && \
|
||||||
|
apk del --purge wget && \
|
||||||
|
rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
|
EXPOSE 8545
|
||||||
|
EXPOSE 30303
|
||||||
|
|
||||||
|
USER $APP_USER
|
||||||
|
WORKDIR $APP_HOME
|
||||||
|
CMD ["./geth"]
|
||||||
Loading…
Reference in a new issue