Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a container in the github action
Rather than using a pre-built one on dockerhub. This keeps all of the necessary state in the snek repository and makes it easy to modify the container contents when necessary. Signed-off-by: Keith Packard <keithp@keithp.com>
- Loading branch information
1 parent
c5ce657
commit 1de0363
Showing
2 changed files
with
58 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
FROM debian:unstable AS download-tarballs | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y wget gnupg && \ | ||
wget -O - https://keithp.com/archive/archive-key | apt-key add - && \ | ||
echo "deb http://keithp.com/archive unstable/" > /etc/apt/sources.list.d/keithp.list && \ | ||
apt-get update && \ | ||
apt-get upgrade -y && \ | ||
apt-get install -y \ | ||
build-essential \ | ||
libreadline-dev \ | ||
avr-libc \ | ||
gcc-avr \ | ||
gcc-arm-none-eabi \ | ||
gcc-riscv64-unknown-elf \ | ||
picolibc-arm-none-eabi \ | ||
picolibc-riscv64-unknown-elf \ | ||
python3 \ | ||
lola \ | ||
gawk \ | ||
asciidoctor \ | ||
ruby-asciidoctor-pdf \ | ||
ruby-coderay \ | ||
gcc-arm-linux-gnueabi \ | ||
libc6-dev-armel-cross \ | ||
black | ||
|
||
RUN mkdir snek | ||
COPY ./ snek/ | ||
|
||
WORKDIR ./snek |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters