aboutsummaryrefslogtreecommitdiffhomepage
path: root/CorOS-dev-environment/CorOS-emulation/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'CorOS-dev-environment/CorOS-emulation/Dockerfile')
-rw-r--r--CorOS-dev-environment/CorOS-emulation/Dockerfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/CorOS-dev-environment/CorOS-emulation/Dockerfile b/CorOS-dev-environment/CorOS-emulation/Dockerfile
new file mode 100644
index 0000000..1f24b79
--- /dev/null
+++ b/CorOS-dev-environment/CorOS-emulation/Dockerfile
@@ -0,0 +1,22 @@
+# Slim Debian image with QEMU and dos2unix
+FROM debian:buster-slim
+
+# Add required packages in the noninteractive mode
+RUN apt-get -y update && apt-get -y -q install dos2unix qemu qemu-user-static
+
+# # Set toolchain PATH for remote container
+RUN mkdir -p /opt/ARM/sysroot
+ENV QEMU_LD_PREFIX="/opt/ARM/sysroot"
+
+# Mounting the QC-rootfs
+RUN mkdir qc-fs qc-fs-uncompressed qt_src
+
+WORKDIR /qt_src
+# # Copy and run the installer
+COPY qt-compiled-4.8.7.tar.gz install_qt_compiled.sh .
+
+WORKDIR /
+COPY init_system.sh update-builder.sh .
+RUN dos2unix init_system.sh update-builder.sh /qt_src/install_qt_compiled.sh
+
+ENTRYPOINT ["/bin/bash"]