Skip to content

Instantly share code, notes, and snippets.

@tugceaktepe
Created June 18, 2023 11:04
Show Gist options
  • Save tugceaktepe/bb0fc95c44cef48bd46b066a342e10e0 to your computer and use it in GitHub Desktop.
Save tugceaktepe/bb0fc95c44cef48bd46b066a342e10e0 to your computer and use it in GitHub Desktop.
QEMU Enabled Dockerfile
FROM ubuntu:18.04
RUN apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils vagrant && \
apt-get autoclean && \
apt-get autoremove && \
vagrant plugin install vagrant-libvirt
COPY start.sh /
ENTRYPOINT [ "/start.sh" ]
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install openjdk-11-jdk -y
RUN apt-get install openjdk-11-jre -y
RUN echo "$(java -version)\n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment