Skip to content

Commit 7fb9f44

Browse files
committed
Add a Dockerfile
1 parent f21f2fe commit 7fb9f44

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Dockerfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Copyright (c) 2022 LG Electronics Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
FROM ubuntu:20.04
4+
5+
RUN apt-get update && apt-get install sudo -y
6+
RUN ln -sf /bin/bash /bin/sh
7+
8+
COPY . /app
9+
WORKDIR /app
10+
11+
ENV DEBIAN_FRONTEND=noninteractive
12+
13+
RUN apt-get -y install build-essential
14+
RUN apt-get -y install python3 python3-distutils python3-pip python3-dev
15+
RUN apt-get -y install python3-intbitset python3-magic
16+
RUN apt-get -y install libxml2-dev
17+
RUN apt-get -y install libxslt1-dev
18+
RUN apt-get -y install libhdf5-dev
19+
RUN apt-get -y install bzip2 xz-utils zlib1g libpopt0
20+
RUN apt-get -y install gcc-10 g++-10
21+
RUN pip3 install --upgrade pip
22+
RUN pip3 install .
23+
RUN pip3 install dparse
24+
25+
ENTRYPOINT ["/usr/local/bin/fosslight"]

0 commit comments

Comments
 (0)