0
0
mirror of https://github.com/yude/firmament synced 2024-12-22 20:20:10 +09:00

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

View File

@ -2,6 +2,16 @@
FROM ghcr.io/sarisia/mikanos:latest FROM ghcr.io/sarisia/mikanos:latest
ENV DISPLAY=$DISPLAY
# [Optional] Uncomment this section to install additional OS packages. # [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-here> # && 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