docker git and nodejs
This commit is contained in:
parent
599ef6fff3
commit
48729e78cb
2 changed files with 14 additions and 0 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
@ -0,0 +1,10 @@
|
|||
FROM debian:12-slim
|
||||
LABEL maintainer="Zi Gao<zi@mightycastle.net>"
|
||||
LABEL version="1.0"
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && apt-get install -qy --no-install-recommends curl software-properties-common git docker.io \
|
||||
&& curl -sL https://deb.nodesource.com/setup_22.x | sudo bash - \
|
||||
&& apt-get install -qy --no-install-recommends nodejs
|
||||
&& rm -rf /var/lib/apt/lists/* /var/log/*.log /usr/share/doc/* /usr/share/info/* /usr/share/linda/* /usr/share/lintian/overrides/* /usr/share/man/* /etc/cron.daily/* /etc/cron.d/*
|
4
build.sh
Executable file
4
build.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
docker build --pull --rm -t registry.mightycastle.net/runner-image:latest .
|
||||
docker push registry.mightycastle.net/runner-image:latest
|
Loading…
Add table
Add a link
Reference in a new issue