|
@ -1,4 +1,4 @@ |
|
|
FROM ubuntu:16.04 |
|
|
FROM ubuntu:18.04 |
|
|
LABEL maintainer="Luke Childs <lukechilds123@gmail.com>" |
|
|
LABEL maintainer="Luke Childs <lukechilds123@gmail.com>" |
|
|
|
|
|
|
|
|
VOLUME ["/code"] |
|
|
VOLUME ["/code"] |
|
@ -21,15 +21,15 @@ RUN echo "Install custom gcc" && \ |
|
|
rm /tmp/gcc.tar.bz2 |
|
|
rm /tmp/gcc.tar.bz2 |
|
|
|
|
|
|
|
|
RUN echo "Install custom clang" && \ |
|
|
RUN echo "Install custom clang" && \ |
|
|
curl -L https://releases.llvm.org/4.0.0/clang+llvm-4.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz --output /tmp/clang.tar.xz && \ |
|
|
curl -L https://releases.llvm.org/7.0.1/clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-18.04.tar.xz --output /tmp/clang.tar.xz && \ |
|
|
echo "8e920c166b00e7869cea443e305933cc410bd1b982c7c5dc56995b6cffb0586f /tmp/clang.tar.xz" | sha256sum -c && \ |
|
|
echo "e74ce06d99ed9ce42898e22d2a966f71ae785bdf4edbded93e628d696858921a /tmp/clang.tar.xz" | sha256sum -c && \ |
|
|
tar -xvf /tmp/clang.tar.xz -C ${BOLOS_ENV} && \ |
|
|
tar -xvf /tmp/clang.tar.xz -C ${BOLOS_ENV} && \ |
|
|
mv ${BOLOS_ENV}/clang+llvm-4.0.0-x86_64-linux-gnu-ubuntu-16.04 ${BOLOS_ENV}/clang-arm-fropi && \ |
|
|
mv ${BOLOS_ENV}/clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-18.04 ${BOLOS_ENV}/clang-arm-fropi && \ |
|
|
rm /tmp/clang.tar.xz |
|
|
rm /tmp/clang.tar.xz |
|
|
|
|
|
|
|
|
RUN echo "Install Ledger Nano S SDK" && \ |
|
|
RUN echo "Install Ledger Nano S SDK" && \ |
|
|
git clone https://github.com/LedgerHQ/nanos-secure-sdk.git ${BOLOS_SDK} && \ |
|
|
git clone https://github.com/LedgerHQ/nanos-secure-sdk.git ${BOLOS_SDK} && \ |
|
|
cd ${BOLOS_SDK} && git checkout tags/nanos-1421 |
|
|
cd ${BOLOS_SDK} && git checkout tags/nanos-1552 |
|
|
|
|
|
|
|
|
COPY ./bin/init /usr/local/bin/init |
|
|
COPY ./bin/init /usr/local/bin/init |
|
|
|
|
|
|
|
|