mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-02 06:41:21 +00:00
26 lines
837 B
Plaintext
Executable File
26 lines
837 B
Plaintext
Executable File
#*******************************************************************************
|
|
#
|
|
# Dockerfile to build Maiko 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
|