Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Use Alpine instead of Ubuntu (#59)
Browse files Browse the repository at this point in the history
* Use Alpine instead of Ubuntu

* Run tag directly instead of hash
  • Loading branch information
nicksavers authored and Arachnid committed Mar 24, 2017
1 parent 46bf31e commit 9087d24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM ubuntu:latest
RUN (apt-get update \
&& apt-get -y install git lsb-release sudo software-properties-common)
FROM alpine:latest
RUN apk add --no-cache git
RUN (git clone --recursive https://github.com/ethereum/solidity.git \
&& cd solidity \
&& git checkout 4633f3de \
Expand Down
2 changes: 1 addition & 1 deletion build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This directory contains a dockerfile that allows you to reproduce the binary of
To use it, first examine the Dockerfile to verify it's doing what you think it is. Then, from the main directory run:

docker build --tag=lllc build
docker run -v $PWD:/ens a810a0a09f2b -x /ens/ENS.lll > ENS.lll.bin
docker run -v $PWD:/ens lllc:latest -x /ens/ENS.lll > ENS.lll.bin
git diff

If the last command shows no differences, you can be sure that the bin file represents the accurate output of the specified version of lllc.

0 comments on commit 9087d24

Please sign in to comment.