Skip to content

Instantly share code, notes, and snippets.

### Cross compilation Midnight commander for RISC-V 64
### License: MIT
### (C) DeJaWu, 2026
### Tested on Sipeed Lichee RV
### To build:
### ```podman build -f Dockerfile.mc.riscv64 -o <path> .```
FROM debian:sid AS builder
ENV MC_VER=4.8.33 \
@djdejawu
djdejawu / cleandocker.sh
Created March 16, 2018 10:26 — forked from weblancaster/gist:6e7f43fc02725ce747e224b0c4290906
Kill all container, remove all images and stop all containers
#stop all containers:
docker kill $(docker ps -q)
#remove all containers
docker rm $(docker ps -a -q)
#remove all docker images
docker rmi $(docker images -q)