18 lines
456 B
Plaintext
18 lines
456 B
Plaintext
|
# syntax=docker/dockerfile:1.3
|
||
|
FROM docker.io/nixos/nix:2.8.0-amd64
|
||
|
|
||
|
ARG BUILD_DATE
|
||
|
ARG VCS_REF
|
||
|
|
||
|
LABEL description="Container image containing statix"
|
||
|
|
||
|
LABEL org.label-schema.build-date=$BUILD_DATE \
|
||
|
org.label-schema.vcs-url="https://git.dotya.ml/wanderer-containers/nix-statix.git" \
|
||
|
org.label-schema.vcs-ref=$VCS_REF \
|
||
|
org.label-schema.license=GPL-3.0
|
||
|
|
||
|
RUN nix-channel --update && \
|
||
|
nix-env -iA nixpkgs.statix
|
||
|
|
||
|
# vim: ft=dockerfile
|