-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker-wine #23
base: master
Are you sure you want to change the base?
docker-wine #23
Conversation
@@ -26,6 +26,7 @@ alpine: alpine.img | |||
%.img: builder %.dir | |||
@echo ${COL_GRN}"[Create $* disk image]"${COL_END} | |||
docker run -it \ | |||
--platform linux/amd64 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
otherwise building on Apple M1 will oddly default to arm64 I believe
@@ -0,0 +1,44 @@ | |||
#!/usr/bin/env bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,144 @@ | |||
#!/usr/bin/env bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,9 @@ | |||
# Connect to the host's server using the mounted UNIX socket |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LABEL com.iximiuz-project="docker-to-linux" | ||
RUN apt-get update -y | ||
RUN apt-get -y install \ | ||
linux-image-virtual \ | ||
systemd-sysv | ||
RUN echo "root:root" | chpasswd | ||
|
||
# docker-remote-desktop | ||
RUN sed -i -E 's/^# deb-src /deb-src /g' /etc/apt/sources.list \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not really sure if we can support the multistage FROM
stuff, so this is a copy and paste hackjob from https://github.com/scottyhardy/docker-remote-desktop/blob/master/Dockerfile
ENV LANG en_US.UTF-8 | ||
|
||
# docker-wine | ||
# Install prerequisites |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copy and paste hackjob from https://github.com/scottyhardy/docker-wine/blob/master/Dockerfile
create_image.sh
Outdated
@@ -11,7 +11,7 @@ echo_blue() { | |||
} | |||
|
|||
echo_blue "[Create disk image]" | |||
dd if=/dev/zero of=/os/${DISTR}.img bs=$(expr 1024 \* 1024 \* 1024) count=1 | |||
dd if=/dev/zero of=/os/${DISTR}.img bs=$(expr 1024 \* 1024 \* 1024 * 20) count=1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
20gb i think? i hit disk out of space otherwise
No description provided.