by Ximeng@Mendix
π δΈζ
docker-mendix-buildpack-offline.zip
cf-mendix-buildpack-4.15.4-offline.zip
Pull the following 2 images first:
mendix/rootfs:bionic
mendix/rootfs:ubi8
Unzip docker-mendix-buildpack-offline.zip
Unzip and copy the content of cf-mendix-buildpack-4.15.4-offline.zip
into the docker buildpack folder
Copy project directory into {docker-mendix-buildpack-offline}/project
<aside>
βΉοΈ You may remove the following folders from the copied project structure: deployment
, data-snapshot.zip
, any release folder containing .mda
packages, and all the version control files (.git
or .svn
)
</aside>
Pre-download dependencies from mendix cdn
<aside>
β For mxbuild
& mx runtime
, you need to find out the exact build version of your Mendix Studio Pro used for your project.
</aside>
Put all 6 files into {docker_mendix_buildpack_dir}/dependencies
Then run:
$ docker build --build-arg BUILD_PATH="project" -f Dockerfile_offline --progress plain -t blank .
ubuntu:bionic
, then finishing in a ubuntu:ubi8
imageubuntu:ubi8
image, which is the final image