e7e634396e
Using `make container` or, if you don't have automake/gmake on your host
system, `./scripts/container.sh` will build an image for the current
branch your are on and drop you into a shell running inside a container
using that image.
From there all tooling required to work on Gluon is available.
Supports both podman (preferred) and docker.
(cherry picked from commit 6728c4a103
)
29 lines
493 B
Docker
29 lines
493 B
Docker
FROM debian:buster-slim
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
ca-certificates \
|
|
file \
|
|
git \
|
|
subversion \
|
|
python \
|
|
build-essential \
|
|
gawk \
|
|
unzip \
|
|
libncurses5-dev \
|
|
zlib1g-dev \
|
|
libssl-dev \
|
|
libelf-dev \
|
|
wget \
|
|
time \
|
|
ecdsautils \
|
|
lua-check \
|
|
shellcheck \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN useradd -d /gluon gluon
|
|
USER gluon
|
|
|
|
VOLUME /gluon
|
|
WORKDIR /gluon
|