Skip to content

Instantly share code, notes, and snippets.

@yen3
Created August 5, 2018 09:01
Show Gist options
  • Select an option

  • Save yen3/ea24412cd9063f7642c10b39cba1d790 to your computer and use it in GitHub Desktop.

Select an option

Save yen3/ea24412cd9063f7642c10b39cba1d790 to your computer and use it in GitHub Desktop.

Revisions

  1. yen3 created this gist Aug 5, 2018.
    14 changes: 14 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    FROM ubuntu:18.04

    RUN sed -i 's/archive.ubuntu.com/tw.archive.ubuntu.com/g' /etc/apt/sources.list \
    && rm /etc/dpkg/dpkg.cfg.d/excludes \
    && apt update \
    && dpkg -l | grep ^ii | cut -d' ' -f3 | xargs apt install -y --reinstall \
    && apt install -y build-essential git man python cmake\
    && git clone --recursive https://github.com/wsmoses/Tapir-Meta.git \
    && cd /Tapir-Meta \
    && ./build.sh release \
    && cd /Tapir-Meta/tapir/build \
    && make -j8 install \
    && cd / \
    && rm -rf /Tapir-Meta