summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-03-10 22:44:48 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-03-10 22:44:48 +0100
commitf2771a0d03278dc944ef6d364ce41ecdb627a16e (patch)
tree624d5589d25682160651b823ada59b37b5ff76df
Add Dockerfile
-rw-r--r--Dockerfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..4e9b02f
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,15 @@
+FROM ubuntu:20.04
+RUN apt-get update && DEBIAN_FRONTEND=noninteractive \
+ apt-get install -y --no-install-recommends \
+ gawk wget git unzip texinfo gcc diffstat file locales \
+ build-essential chrpath socat cpio python3 python3-pip \
+ python3-pexpect xz-utils debianutils iputils-ping python3-git \
+ python3-jinja2 pylint3 python3-subunit zstd liblz4-tool
+RUN LANG=en_US.UTF-8 locale-gen --purge en_US.UTF-8
+RUN adduser user
+USER user
+WORKDIR /home/user
+RUN git clone --depth 1 https://github.com/Biktorgj/pinephone_modem_sdk
+WORKDIR pinephone_modem_sdk
+RUN ./init.sh
+RUN make everything