Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions base-sha.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# separating this into a separate file so we can get better caching
# there is a lot of redundancy between this and base.Dockerfile, but I don't think it's worth it to try to abstract it out

FROM debian:bullseye as scheme-builder
FROM debian:trixie as scheme-builder

Check warning on line 6 in base-sha.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - latest / Build Base

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

WORKDIR /root

Expand All @@ -22,12 +22,12 @@
# this makes it a bit easier for us to move the csv folder to other build steps, since it is necessary for scheme to run
RUN mkdir scheme-lib && cp -r /usr/lib/csv* /root/scheme-lib

FROM debian:bullseye as idris-builder
FROM debian:trixie as idris-builder

Check warning on line 25 in base-sha.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - latest / Build Base

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

RUN apt-get update && \
apt-get install -y git make gcc libgmp-dev curl

ENV DEBIAN_FRONTEND noninteractive

Check warning on line 30 in base-sha.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - latest / Build Base

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
# SHA of the latest commit on the idris-lang/idris2 repo
ARG IDRIS_SHA

Expand All @@ -44,7 +44,7 @@
# add idris2 to path
ENV PATH="/root/.idris2/bin:${PATH}"
# add idris lib to LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH="/root/.idris2/lib:${LD_LIBRARY_PATH}"

Check warning on line 47 in base-sha.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - latest / Build Base

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

# self-hosting (needed for Idris2 API)
# in my experience, the Idris2 API seems to still work without the self-hosting step
Expand Down
4 changes: 2 additions & 2 deletions base.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Expects IDRIS_VERSION to NOT be `latest`
# uBut a tag of the form `v0.7.0`

FROM debian:bullseye as scheme-builder
FROM debian:trixie as scheme-builder

Check warning on line 4 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Build Base

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 4 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.7.0 / Build Base

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 4 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Test 2 Base

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 4 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Test 1 Base

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 4 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.7.0 / Test 1 Base

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 4 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.7.0 / Test 2 Base

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 4 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Build Consumer (debian)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 4 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Build Consumer (ubuntu)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

WORKDIR /root

Expand All @@ -20,12 +20,12 @@
# this makes it a bit easier for us to move the csv folder to other build steps, since it is necessary for scheme to run
RUN mkdir scheme-lib && cp -r /usr/lib/csv* /root/scheme-lib

FROM debian:bullseye as idris-builder
FROM debian:trixie as idris-builder

Check warning on line 23 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Build Base

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 23 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.7.0 / Build Base

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 23 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Test 2 Base

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 23 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Test 1 Base

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 23 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.7.0 / Test 1 Base

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 23 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.7.0 / Test 2 Base

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 23 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Build Consumer (debian)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 23 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Build Consumer (ubuntu)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

RUN apt-get update && \
apt-get install -y git make gcc libgmp-dev curl

ENV DEBIAN_FRONTEND noninteractive

Check warning on line 28 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Build Base

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 28 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.7.0 / Build Base

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 28 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Test 2 Base

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 28 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Test 1 Base

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 28 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.7.0 / Test 1 Base

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 28 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.7.0 / Test 2 Base

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 28 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Build Consumer (debian)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 28 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Build Consumer (ubuntu)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ARG IDRIS_VERSION

COPY --from=scheme-builder /usr/bin/scheme /usr/bin/scheme
Expand All @@ -41,7 +41,7 @@
# add idris2 to path
ENV PATH="/root/.idris2/bin:${PATH}"
# add idris lib to LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH="/root/.idris2/lib:${LD_LIBRARY_PATH}"

Check warning on line 44 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Build Base

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 44 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.7.0 / Build Base

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 44 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Test 2 Base

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 44 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Test 1 Base

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 44 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.7.0 / Test 1 Base

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 44 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.7.0 / Test 2 Base

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 44 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Build Consumer (debian)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 44 in base.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Build Consumer (ubuntu)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

# self-hosting (needed for Idris2 API)
# in my experience, the Idris2 API seems to still work without the self-hosting step
Expand Down
2 changes: 1 addition & 1 deletion debian.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ARG IDRIS_VERSION=latest
ARG BASE_IMG=ghcr.io/joshuanianji/idris-2-docker/base:${IDRIS_VERSION}

FROM $BASE_IMG as base

Check warning on line 4 in debian.Dockerfile

View workflow job for this annotation

GitHub Actions / Base Build & Test - v0.5.1 / Build Consumer (debian)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

FROM debian:bullseye
FROM debian:trixie

# add idris2 and scheme from builder
COPY --from=base /root/.idris2 /root/.idris2
Expand Down
2 changes: 1 addition & 1 deletion devcontainer-sha.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN make install PREFIX=/usr/local/lib/idris2

# =====
# LSP Builder
FROM debian:bullseye as lsp-builder
FROM debian:trixie as lsp-builder

RUN apt-get update && \
apt-get install -y git make gcc libgmp-dev curl
Expand Down
2 changes: 1 addition & 1 deletion devcontainer.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN make install PREFIX=/usr/local/lib/idris2

# =====
# LSP Builder
FROM debian:bullseye as lsp-builder
FROM debian:trixie as lsp-builder

RUN apt-get update && \
apt-get install -y git make gcc libgmp-dev curl
Expand Down
Loading