-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
23 lines (19 loc) · 1.17 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ubuntu:bionic
# Download folder for EOSIO releases
ARG DOWNLOAD=https://github.com/eosio/eos/releases/download
# Default EOSIO version, see .env file
ARG VER=2.0.12
# Install required packages, including EOSIO
RUN \
DEBIAN_FRONTEND=noninteractive \
apt-get update && \
apt-get --yes --no-install-recommends install \
ca-certificates \
curl \
libjson-pp-perl \
wget && \
wget -P /tmp $DOWNLOAD/v${VER}/eosio_${VER}-1-ubuntu-18.04_amd64.deb && \
apt-get --yes install \
/tmp/eosio_${VER}-1-ubuntu-18.04_amd64.deb
# Copy our entrypoint scripts into the path for shorthand execution
COPY bin/ /usr/local/bin/