Skip to content
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

Add macOS build instructions, upgrades #1761

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
#
# Build with:
# docker build --tag=kivy/buildozer .
#
#
# Or for macOS using Docker Desktop:
#
# docker buildx build --platform=linux/amd64 -t kivy/buildozer .
#
# In order to give the container access to your current working directory
# it must be mounted using the --volume option.
# Run with (e.g. `buildozer --version`):
Expand All @@ -24,7 +28,7 @@
# Or simply recreate the directory from the host with:
# rm -rf ~/.buildozer && mkdir ~/.buildozer

FROM ubuntu:20.04
FROM ubuntu:latest

ENV USER="user"
ENV HOME_DIR="/home/${USER}"
Expand Down Expand Up @@ -55,7 +59,7 @@ RUN apt update -qq > /dev/null \
libltdl-dev \
libssl-dev \
libtool \
openjdk-13-jdk \
openjdk-17-jdk \
patch \
pkg-config \
python3-pip \
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ A Dockerfile is available to use buildozer through a Docker environment.
docker build --tag=buildozer .
```

For macOS, build with:

```bash
docker buildx build --platform=linux/amd64 -t kivy/buildozer .
```

- Run with:

```bash
Expand Down
Loading