feat: initial commit

This commit is contained in:
Morre 2023-07-27 22:58:06 +02:00
commit 4a6135f6e4
Signed by: morre
GPG Key ID: BFED22AA844DE3A8
4 changed files with 38 additions and 0 deletions

11
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,11 @@
default_stages: [commit]
repos:
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0
hooks:
- id: prettier
- repo: https://github.com/hadolint/hadolint
rev: v2.12.0
hooks:
- id: hadolint-docker

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM ubuntu:22.04
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# hadolint ignore=DL3008
RUN apt-get update && apt-get install --no-install-recommends -y \
lsb-release \
gnupg \
curl \
&& rm -rf /var/lib/apt/lists/*
RUN set -o pipefail && curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
COPY nodesource.list /etc/apt/sources.list.d/

12
README.md Normal file
View File

@ -0,0 +1,12 @@
# runner-images
This uses https://github.com/actions/runner-images/blob/9a403df7bda5868203ec8bd1036c28ad12fee294/images/linux/Ubuntu2204-Readme.md
as inspiration to build a base image that is useful without installing many different packages.
## Development
Set up pre-commit before starting development:
```sh
pre-commit install
```

2
nodesource.list Normal file
View File

@ -0,0 +1,2 @@
deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x jammy main
deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x jammy main