feat: initial commit
This commit is contained in:
commit
4a6135f6e4
|
|
@ -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
|
||||
|
|
@ -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/
|
||||
|
|
@ -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
|
||||
```
|
||||
|
|
@ -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
|
||||
Loading…
Reference in New Issue