diff --git a/Dockerfile b/Dockerfile index 3771f45..66f88f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,25 +1,26 @@ # Copyright (c) 2022 LG Electronics Inc. # SPDX-License-Identifier: Apache-2.0 -FROM ubuntu:20.04 +FROM ubuntu:20.04 -RUN apt-get update && apt-get install sudo -y +RUN apt-get update && apt-get install sudo -y RUN ln -sf /bin/bash /bin/sh -COPY . /app +COPY . /app WORKDIR /app -ENV DEBIAN_FRONTEND=noninteractive +ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get -y install build-essential -RUN apt-get -y install python3 python3-distutils python3-pip python3-dev -RUN apt-get -y install python3-intbitset python3-magic -RUN apt-get -y install libxml2-dev -RUN apt-get -y install libxslt1-dev -RUN apt-get -y install libhdf5-dev -RUN apt-get -y install bzip2 xz-utils zlib1g libpopt0 -RUN apt-get -y install gcc-10 g++-10 -RUN pip3 install --upgrade pip -RUN pip3 install . -RUN pip3 install dparse +RUN apt-get -y install build-essential \ + && apt-get -y install python3-distutils python3-pip python3-dev \ + && apt-get -y install python3-intbitset python3-magic \ + && apt-get -y install libxml2-dev \ + && apt-get -y install libxslt1-dev \ + && apt-get -y install libhdf5-dev \ + && apt-get -y install bzip2 xz-utils zlib1g libpopt0 \ + && apt-get -y install gcc-10 g++-10 -ENTRYPOINT ["/usr/local/bin/fosslight"] +RUN pip3 install --upgrade pip \ + && pip3 install . \ + && pip3 install dparse + +ENTRYPOINT ["/usr/local/bin/fosslight"]