Block a user
coder-image-timeloop (2025-06-28-3535bf)
Published 2025-06-28 04:42:03 +00:00 by eric
Installation
docker pull git.ericxliu.me/eric/coder-image-timeloop:2025-06-28-3535bfsha256:bdb5c720202776b14b5cfad31e9362d8fc0d4d25bf3acd8cd6bf4ab8781e203dImage Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:433cf0b8353e08be3a6582ad5947c57a66bdbb842ed3095246a1ff6876d157f1 in / |
| CMD ["/bin/bash"] |
| LABEL maintainer=timeloop-accelergy@mit.edu |
| ARG BUILD_DATE=2025-04-16T19:49:37Z |
| ARG VCS_REF=608ec5f |
| ARG BUILD_VERSION=0.2 |
| LABEL org.label-schema.schema-version=1.0 |
| LABEL org.label-schema.build-date=2025-04-16T19:49:37Z |
| LABEL org.label-schema.name=Accelergy-Project/accelergy-timeloop-infrastructure |
| LABEL org.label-schema.description=Infrastructure setup for Timeloop/Accelergy tools |
| LABEL org.label-schema.url=http://accelergy.mit.edu/ |
| LABEL org.label-schema.vcs-url=https://github.com/Accelergy-Project/accelergy-timeloop-infrastructure |
| LABEL org.label-schema.vcs-ref=608ec5f |
| LABEL org.label-schema.vendor=Wu |
| LABEL org.label-schema.version=0.2 |
| LABEL org.label-schema.docker.cmd=docker run -it --rm -v ~/workspace:/home/workspace timeloopaccelergy/accelergy-timeloop-infrastructure |
| ENV BIN_DIR=/usr/local/bin |
| ENV BUILD_DIR=/usr/local/src |
| ENV LIB_DIR=/usr/local/lib |
| ENV SHARE_DIR=/usr/local/share |
| ENV INCLUDE_DIR=/usr/local/include |
| RUN |3 BUILD_DATE=2025-04-16T19:49:37Z VCS_REF=608ec5f BUILD_VERSION=0.2 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl git wget vim && apt-get install -y --no-install-recommends python3-dev && apt-get install -y --no-install-recommends python3-pip && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata && apt-get install -y --no-install-recommends g++ libconfig++-dev libboost-dev libboost-iostreams-dev libboost-serialization-dev libyaml-cpp-dev libncurses5-dev libtinfo-dev libgpm-dev cmake ninja-build && rm -rf /var/lib/apt/lists/* && groupadd workspace && useradd -m -d /home/workspace -c "Workspace User Account" -s /usr/sbin/nologin -g workspace workspace && if [ ! -d $BUILD_DIR ]; then mkdir $BUILD_DIR; fi # buildkit |
| WORKDIR /usr/local/src |
| COPY /usr/local/src/timeloop/build/timeloop-mapper /usr/local/bin # buildkit |
| COPY /usr/local/src/timeloop/build/timeloop-metrics /usr/local/bin # buildkit |
| COPY /usr/local/src/timeloop/build/timeloop-model /usr/local/bin # buildkit |
| COPY /usr/local/src/cacti/cacti /usr/local/bin # buildkit |
| WORKDIR /usr/local/src |
| COPY /usr/local/src/timeloop/lib/*.a /usr/local/lib/ # buildkit |
| COPY /usr/local/src/timeloop/lib/*.so /usr/local/lib/ # buildkit |
| COPY /usr/local/src/timeloop/include/* /usr/local/include/timeloop/ # buildkit |
| RUN |3 BUILD_DATE=2025-04-16T19:49:37Z VCS_REF=608ec5f BUILD_VERSION=0.2 /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata && apt-get install -y --no-install-recommends locales curl git wget python3-dev python3-pip scons make autotools-dev autoconf automake libtool graphviz && apt-get install -y --no-install-recommends g++ cmake # buildkit |
| ARG OVERLAY_VERSION=v2.1.0.2 |
| ARG OVERLAY_ARCH=amd64 |
| ADD https://github.com/just-containers/s6-overlay/releases/download/v2.1.0.2/s6-overlay-amd64-installer /tmp/ # buildkit |
| RUN |5 BUILD_DATE=2025-04-16T19:49:37Z VCS_REF=608ec5f BUILD_VERSION=0.2 OVERLAY_VERSION=v2.1.0.2 OVERLAY_ARCH=amd64 /bin/sh -c chmod +x /tmp/s6-overlay-${OVERLAY_ARCH}-installer && /tmp/s6-overlay-${OVERLAY_ARCH}-installer / && rm /tmp/s6-overlay-${OVERLAY_ARCH}-installer # buildkit |
| RUN |5 BUILD_DATE=2025-04-16T19:49:37Z VCS_REF=608ec5f BUILD_VERSION=0.2 OVERLAY_VERSION=v2.1.0.2 OVERLAY_ARCH=amd64 /bin/sh -c echo "**** create container user and make folders ****" && userdel workspace && useradd -u 911 -U -d /home/workspace -s /bin/bash workspace && usermod -G users workspace # buildkit |
| WORKDIR /usr/local/src |
| COPY src/ /usr/local/src/ # buildkit |
| WORKDIR /usr/local/src |
| RUN |5 BUILD_DATE=2025-04-16T19:49:37Z VCS_REF=608ec5f BUILD_VERSION=0.2 OVERLAY_VERSION=v2.1.0.2 OVERLAY_ARCH=amd64 /bin/sh -c echo "YES" | python3 $BUILD_DIR/timeloop/scripts/hyphens2underscores.py $BUILD_DIR/timeloop-python # buildkit |
| COPY /usr/local/src/timeloop/docs /usr/local/src/timeloop # buildkit |
| WORKDIR /usr/local/src |
| RUN |5 BUILD_DATE=2025-04-16T19:49:37Z VCS_REF=608ec5f BUILD_VERSION=0.2 OVERLAY_VERSION=v2.1.0.2 OVERLAY_ARCH=amd64 /bin/sh -c mkdir $BUILD_DIR/accelergy-neurosim-plug-in/NeuroSim # buildkit |
| COPY /usr/local/src/accelergy-neurosim-plug-in/NeuroSim/main /usr/local/src/accelergy-neurosim-plug-in/NeuroSim/main # buildkit |
| WORKDIR /usr/local/src |
| RUN |5 BUILD_DATE=2025-04-16T19:49:37Z VCS_REF=608ec5f BUILD_VERSION=0.2 OVERLAY_VERSION=v2.1.0.2 OVERLAY_ARCH=amd64 /bin/sh -c python3 -m pip install setuptools && python3 -m pip install wheel && python3 -m pip install libconf && python3 -m pip install numpy && python3 -m pip install pydot && python3 -m pip install jupyterlab && python3 -m pip install ./accelergy && python3 -m pip install ./accelergy-aladdin-plug-in && cd accelergy-cacti-plug-in && make && cd .. && python3 -m pip install ./accelergy-cacti-plug-in && python3 -m pip install ./accelergy-table-based-plug-ins && python3 -m pip install ./accelergy-neurosim-plug-in && python3 -m pip install ./accelergy-library-plug-in && python3 -m pip install ./accelergy-adc-plug-in && chmod -R 777 $SHARE_DIR/accelergy/estimation_plug_ins # buildkit |
| ENV BARVINOK_VER=0.41.6 |
| ENV NTL_VER=11.5.1 |
| RUN |5 BUILD_DATE=2025-04-16T19:49:37Z VCS_REF=608ec5f BUILD_VERSION=0.2 OVERLAY_VERSION=v2.1.0.2 OVERLAY_ARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends g++ libconfig++-dev libboost-dev libboost-iostreams-dev libboost-serialization-dev libyaml-cpp-dev libncurses5-dev libtinfo-dev libgpm-dev libgmp-dev && rm -rf /var/lib/apt/lists/* # buildkit |
| WORKDIR /usr/local/src |
| RUN |5 BUILD_DATE=2025-04-16T19:49:37Z VCS_REF=608ec5f BUILD_VERSION=0.2 OVERLAY_VERSION=v2.1.0.2 OVERLAY_ARCH=amd64 /bin/sh -c wget https://libntl.org/ntl-$NTL_VER.tar.gz && tar -xvzf ntl-$NTL_VER.tar.gz && cd ntl-$NTL_VER/src && ./configure NTL_GMP_LIP=on SHARED=on NATIVE=off && make && make install # buildkit |
| WORKDIR /usr/local/src |
| RUN |5 BUILD_DATE=2025-04-16T19:49:37Z VCS_REF=608ec5f BUILD_VERSION=0.2 OVERLAY_VERSION=v2.1.0.2 OVERLAY_ARCH=amd64 /bin/sh -c wget https://barvinok.sourceforge.io/barvinok-$BARVINOK_VER.tar.gz && tar -xvzf barvinok-$BARVINOK_VER.tar.gz && cd barvinok-$BARVINOK_VER && ./configure --enable-shared-barvinok && make && make install # buildkit |
| WORKDIR /usr/local/src |
| RUN |5 BUILD_DATE=2025-04-16T19:49:37Z VCS_REF=608ec5f BUILD_VERSION=0.2 OVERLAY_VERSION=v2.1.0.2 OVERLAY_ARCH=amd64 /bin/sh -c wget -O islpy-2024.2.tar.gz https://github.com/inducer/islpy/archive/refs/tags/v2024.2.tar.gz && tar -xvzf islpy-2024.2.tar.gz && cd islpy-2024.2 && sed -i 's/python/python3/g' build-with-barvinok.sh && ./build-with-barvinok.sh /usr/local # buildkit |
| WORKDIR /usr/local/src |
| RUN |5 BUILD_DATE=2025-04-16T19:49:37Z VCS_REF=608ec5f BUILD_VERSION=0.2 OVERLAY_VERSION=v2.1.0.2 OVERLAY_ARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends g++ cmake make && cd timeloop/src && ln -s ../pat-public/src/pat . && cd ../../timeloop-python && rm -rf build && apt-get install -y --no-install-recommends libisl-dev && TIMELOOP_INCLUDE_PATH=$BUILD_DIR/timeloop/include TIMELOOP_LIB_PATH=$LIB_DIR python3 -m pip install . # buildkit |
| COPY /root / # buildkit |
| USER |
| WORKDIR /home/workspace/ |
| EXPOSE map[8888/tcp:{}] |
| ENTRYPOINT ["/init"] |
| LABEL maintainer=timeloop-accelergy@mit.edu |
| ARG BUILD_DATE=2025-04-16T20:14:30Z |
| ARG VCS_REF=aff07ac |
| ARG BUILD_VERSION=0.2 |
| LABEL org.label-schema.schema-version=1.0 |
| LABEL org.label-schema.build-date=2025-04-16T20:14:30Z |
| LABEL org.label-schema.name=timeloopaccelergy/timeloop-accelergy-pytorch |
| LABEL org.label-schema.description=Infrastructure for Timeloop/Accelergy and Pytorch |
| LABEL org.label-schema.url=http://accelergy.mit.edu/ |
| LABEL org.label-schema.vcs-url=https://github.com/Accelergy-Project/timeloop-accelergy-pytorch |
| LABEL org.label-schema.vcs-ref=aff07ac |
| LABEL org.label-schema.vendor=Emer |
| LABEL org.label-schema.version=0.2 |
| LABEL org.label-schema.docker.cmd=docker run -it --rm -v ~/workspace:/home/workspace timeloopaccelergy/timeloop-accelergy-pytorch |
| ENV SRC_DIR=/usr/local/src |
| ENV LIB_DIR=/usr/local/lib |
| ENV BIN_DIR=/usr/local/bin |
| RUN |3 BUILD_DATE=2025-04-16T20:14:30Z VCS_REF=aff07ac BUILD_VERSION=0.2 /bin/sh -c echo "**** create container user and make folders ****" && userdel workspace && useradd -u 911 -U -d /home/workspace -s /bin/bash workspace && usermod -G users workspace # buildkit |
| RUN |3 BUILD_DATE=2025-04-16T20:14:30Z VCS_REF=aff07ac BUILD_VERSION=0.2 /bin/sh -c pip3 install pandas seaborn numpy scipy matplotlib ipykernel jupyter && pip3 install plyplus pyyaml && pip3 install tqdm matplotlib svgutils # buildkit |
| RUN |3 BUILD_DATE=2025-04-16T20:14:30Z VCS_REF=aff07ac BUILD_VERSION=0.2 /bin/sh -c pip3 install torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 --extra-index-url https://download.pytorch.org/whl/cpu # buildkit |
| RUN |3 BUILD_DATE=2025-04-16T20:14:30Z VCS_REF=aff07ac BUILD_VERSION=0.2 /bin/sh -c python3 -m pip install torchprofile # buildkit |
| RUN |3 BUILD_DATE=2025-04-16T20:14:30Z VCS_REF=aff07ac BUILD_VERSION=0.2 /bin/sh -c python3 -m pip install git+https://github.com/Accelergy-Project/pytorch2timeloop-converter # buildkit |
| RUN |3 BUILD_DATE=2025-04-16T20:14:30Z VCS_REF=aff07ac BUILD_VERSION=0.2 /bin/sh -c echo "**** install required packages ****" && apt-get update && apt-get install -y --no-install-recommends libgl1 fonts-freefont-ttf fonts-dejavu && echo "**** cleanup ****" && apt-get clean && rm -rf /tmp/* /var/lib/apt/lists/* # buildkit |
| RUN |3 BUILD_DATE=2025-04-16T20:14:30Z VCS_REF=aff07ac BUILD_VERSION=0.2 /bin/sh -c python3 -m pip install git+https://github.com/Fibertree-Project/fibertree # buildkit |
| COPY /root / # buildkit |
| USER |
| WORKDIR /home/workspace/ |
| RUN |3 BUILD_DATE=2025-04-16T20:14:30Z VCS_REF=aff07ac BUILD_VERSION=0.2 /bin/sh -c python3 -m pip install git+https://github.com/jsemer/yamlwidgets # buildkit |
| EXPOSE map[8888/tcp:{}] |
| ENTRYPOINT ["/init"] |
| USER root |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends bash ca-certificates curl git jq locales sudo && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c locale-gen en_US.UTF-8 # buildkit |
| ENV LANG=en_US.UTF-8 |
| ENV LANGUAGE=en_US.UTF-8 |
| ENV LC_ALL=en_US.UTF-8 |
| RUN /bin/sh -c useradd coder --create-home --shell=/bin/bash --uid=1000 --user-group && echo "coder ALL=(ALL) NOPASSWD:ALL" >>/etc/sudoers.d/nopasswd # buildkit |
| USER coder |
Labels
| Key | Value |
|---|---|
| maintainer | timeloop-accelergy@mit.edu |
| org.label-schema.build-date | 2025-04-16T20:14:30Z |
| org.label-schema.description | Infrastructure for Timeloop/Accelergy and Pytorch |
| org.label-schema.docker.cmd | docker run -it --rm -v ~/workspace:/home/workspace timeloopaccelergy/timeloop-accelergy-pytorch |
| org.label-schema.name | timeloopaccelergy/timeloop-accelergy-pytorch |
| org.label-schema.schema-version | 1.0 |
| org.label-schema.url | http://accelergy.mit.edu/ |
| org.label-schema.vcs-ref | aff07ac |
| org.label-schema.vcs-url | https://github.com/Accelergy-Project/timeloop-accelergy-pytorch |
| org.label-schema.vendor | Emer |
| org.label-schema.version | 0.2 |
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.version | 22.04 |
Details
2025-06-28 04:42:03 +00:00
Versions (5)
View all
Container
0
OCI / Docker
linux/amd64
2.1 GiB
latest
2025-08-05
2025-08-05-4a7c42
2025-08-05
2025-06-28-0e5c92
2025-06-28
2025-06-28-f8769d
2025-06-28
2025-06-28-3535bf
2025-06-28