mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-20 03:11:46 +00:00
20 lines
445 B
Docker
20 lines
445 B
Docker
FROM ubuntu:24.04
|
|
|
|
# Avoid prompts
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
# Install make first so we can use the Makefile
|
|
RUN apt-get update && apt-get install -y make sudo && rm -rf /var/lib/apt/lists/*
|
|
|
|
# Set up working directory
|
|
WORKDIR /app/hive
|
|
|
|
# Copy only the Makefile to run quickinstall
|
|
COPY Makefile .
|
|
|
|
# Run the quickinstall target from the Makefile
|
|
RUN make quickinstall
|
|
|
|
# Ensure Go is in the PATH
|
|
ENV PATH="/usr/local/go/bin:${PATH}"
|