#******************************************************************************* # # Dockerfile to build Maiko for Linux to be used by buildRelease github action # The output of this is intended to be a directory in the github workspace # file system it is not intended to be a useable Docker image. # # Copyright 2023 by Interlisp.org # # Frank Halasz 2023-02-21 # # ****************************************************************************** FROM ghcr.io/interlisp/maiko-builder ARG INSTALL_LOCATION=/usr/local/interlisp/maiko SHELL ["/bin/bash", "-c"] # Copy over / clean maiko repo COPY . ${INSTALL_LOCATION} # Build maiko RUN cd ${INSTALL_LOCATION}/bin \ && ./makeright x cleanup \ && ./makeright x RUN cd ${INSTALL_LOCATION}/bin \ && if [ "$(./machinetype)" = "x86_64" ]; then \ ./makeright init; \ fi