14 lines
381 B
Docker
14 lines
381 B
Docker
|
FROM tezos_build:$base_image
|
||
|
|
||
|
ADD tezos /home/opam/tezos
|
||
|
ENV HOME /home/opam
|
||
|
WORKDIR $HOME/tezos
|
||
|
RUN sudo HOME="$HOME" opam config exec -- make clean && \
|
||
|
sudo rm -fr ~/.opam/log && \
|
||
|
sudo chown -R opam /home/opam
|
||
|
RUN opam config exec -- make
|
||
|
RUN mkdir -p ~/bin && \
|
||
|
(cp tezos-client tezos-node tezos-protocol-compiler tezos-webclient ~/bin || true)
|
||
|
|
||
|
WORKDIR $HOME/bin
|