(new): linux image
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
build-all:
|
build-all:
|
||||||
|
docker buildx build -t git.scuroneko.dev/runners/linux:bookworm -f linux.Dockerfile .
|
||||||
docker buildx build -t git.scuroneko.dev/runners/go:bookworm -f go.Dockerfile .
|
docker buildx build -t git.scuroneko.dev/runners/go:bookworm -f go.Dockerfile .
|
||||||
docker buildx build -t git.scuroneko.dev/runners/go:alpine -f go-alpine.Dockerfile .
|
docker buildx build -t git.scuroneko.dev/runners/go:alpine -f go-alpine.Dockerfile .
|
||||||
docker buildx build -t git.scuroneko.dev/runners/docker:bookworm -f docker.Dockerfile .
|
docker buildx build -t git.scuroneko.dev/runners/docker:bookworm -f docker.Dockerfile .
|
||||||
@@ -7,6 +8,7 @@ build-all:
|
|||||||
# docker buildx build -t git.scuroneko.dev/runners/python:alpine -f python-alpine.Dockerfile .
|
# docker buildx build -t git.scuroneko.dev/runners/python:alpine -f python-alpine.Dockerfile .
|
||||||
|
|
||||||
push-all: build-all
|
push-all: build-all
|
||||||
|
docker push git.scuroneko.dev/runners/linux:bookworm
|
||||||
docker push git.scuroneko.dev/runners/go:bookworm
|
docker push git.scuroneko.dev/runners/go:bookworm
|
||||||
docker push git.scuroneko.dev/runners/go:alpine
|
docker push git.scuroneko.dev/runners/go:alpine
|
||||||
docker push git.scuroneko.dev/runners/docker:bookworm
|
docker push git.scuroneko.dev/runners/docker:bookworm
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
## Repository with some custom runners for actions
|
## Repository with some custom runners for actions
|
||||||
|
|
||||||
|
- `linux:bookworm` - image based on `node:24-bookworm`. packages: `git`, `curl`
|
||||||
- `docker:bookworm` - image based on `node:24-bookworm`. packages: `docker.io`, `git`
|
- `docker:bookworm` - image based on `node:24-bookworm`. packages: `docker.io`, `git`
|
||||||
- `go:alpine` - image based on `golang:1.26-alpine`. packages: `nodejs`, `npm`, `git`
|
- `go:alpine` - image based on `golang:1.26-alpine`. packages: `nodejs`, `npm`, `git`
|
||||||
- `go:bookworm` - image based on `golang:1.26-bookworm`. packages: `nodejs`, `npm`, `git`
|
- `go:bookworm` - image based on `golang:1.26-bookworm`. packages: `nodejs`, `npm`, `git`
|
||||||
|
|||||||
+2
-1
@@ -1,4 +1,5 @@
|
|||||||
FROM node:24-bookworm-slim
|
FROM node:24-bookworm-slim
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends docker.io bash git ca-certificates && \
|
apt-get install -y --no-install-recommends docker.io bash git ca-certificates curl && \
|
||||||
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
FROM golang:1.26-alpine
|
FROM golang:1.26-alpine
|
||||||
ARG GOLANGCI_LINT_VERSION=v2.11.4
|
ARG GOLANGCI_LINT_VERSION=v2.11.4
|
||||||
RUN apk add --no-cache nodejs npm bash git ca-certificates
|
RUN apk add --no-cache nodejs npm bash git ca-certificates curl
|
||||||
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh \
|
RUN curl -sSfL https://golangci-lint.run/install.sh | sh -s -- -b /usr/local/bin ${GOLANGCI_LINT_VERSION}
|
||||||
| sh -s -- -b /usr/local/bin ${GOLANGCI_LINT_VERSION}
|
|
||||||
+2
-3
@@ -10,8 +10,7 @@ RUN apt-get update && \
|
|||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y --no-install-recommends nodejs && \
|
apt-get install -y --no-install-recommends nodejs && \
|
||||||
go version && node -v && npm -v && \
|
go version && node -v && npm -v && \
|
||||||
apt-get purge -y --auto-remove curl gnupg && \
|
apt-get purge -y --auto-remove gnupg && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh \
|
RUN curl -sSfL https://golangci-lint.run/install.sh | sh -s -- -b /usr/local/bin ${GOLANGCI_LINT_VERSION}
|
||||||
| sh -s -- -b /usr/local/bin ${GOLANGCI_LINT_VERSION}
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
FROM node:24-bookworm
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install -y --no-install-recommends ca-certificates curl git bash && \
|
||||||
|
apt-get clean && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
@@ -2,4 +2,5 @@ FROM python:3.14-bookworm
|
|||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends nodejs npm python3-dev \
|
apt-get install -y --no-install-recommends nodejs npm python3-dev \
|
||||||
git bash ca-certificates build-essential pkg-config && \
|
git bash ca-certificates build-essential pkg-config && \
|
||||||
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
Reference in New Issue
Block a user