Skip to content

Commit

Permalink
small docker build adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed Mar 4, 2020
1 parent ffb5f20 commit 1a8a0ec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_build
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV MIX_ENV=$MIX_ENV

WORKDIR /code

RUN apt-get update && apt-get -y install curl make build-essential && curl https://get.volta.sh | bash
RUN apt-get update && apt-get -y install autoconf git curl make build-essential && curl https://get.volta.sh | bash

ENV PATH=$PATH:/root/.volta/bin

Expand Down
10 changes: 5 additions & 5 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Eth.Mixfile do
use Mix.Project

def project do
def project() do
[
app: :eth,
version: "0.4.0",
Expand All @@ -14,14 +14,14 @@ defmodule Eth.Mixfile do
end

# Run "mix help compile.app" to learn about applications.
def application do
def application() do
[
extra_applications: [:logger, :ethereumex, :libsecp256k1]
]
end

# Run "mix help deps" to learn about dependencies.
defp deps do
defp deps() do
[
{:ethereumex, "~> 0.5.6"},
{:ex_rlp, "~> 0.5.3"},
Expand All @@ -35,13 +35,13 @@ defmodule Eth.Mixfile do
]
end

defp description do
defp description() do
"""
Ethereum utilities for Elixir.
"""
end

def package do
def package() do
[
name: :eth,
files: ["lib", "mix.exs", "README*", "LICENSE*"],
Expand Down

0 comments on commit 1a8a0ec

Please # to comment.