Automation initial work

This commit is contained in:
yude 2021-05-04 10:46:56 +09:00
parent 755dff4dc8
commit bc954f09d5
Signed by: yude
GPG Key ID: EB0FE5D925C4A968
1 changed files with 10 additions and 0 deletions

View File

@ -2,6 +2,16 @@
FROM ghcr.io/sarisia/mikanos:latest
ENV DISPLAY=$DISPLAY
# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-here>
#RUN "source /home/vscode/edk2/edksetup.sh" >> /home/vscode/.bashrc
#RUN rm /home/vscode/edk2/Conf/target.txt
RUN ln -s /workspaces/firmament/.devcontainer/Conf/target.txt /home/vscode/edk2/Conf/target.txt
RUN ln -s /workspaces/firmament /home/vscode/edk2/firmament
RUN ln -s /home/vscode/edk2/Build/LoaderX64/DEBUG_CLANG38/X64/Loader.efi /home/vscode/BOOTX64.EFI
RUN ln -s /workspaces/firmament/.devcontainer/make_disk.sh /home/vscode/make_disk.sh
RUN ln -s /workspaces/firmament/.devcontainer/run_qemu.sh /home/vscode/run_qemu.sh
RUN chmod +x /home/vscode/run_qemu.sh
RUN chmod +x /home/vscode/make_disk.sh