Skip to content

Instantly share code, notes, and snippets.

@agustinustheo
agustinustheo / Dockerfile
Last active October 21, 2022 07:56 — forked from beeman/Dockerfile
Docker image with solana-test-validator that works on a Apple M1
FROM debian:bullseye as base
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
WORKDIR /workspace
RUN mkdir -pv "/workspace/bin" && echo 'echo test' > '/workspace/bin/test.sh' && chmod +x '/workspace/bin/test.sh'
ENV PATH="/workspace/bin:${PATH}"
FROM base as builder