Skip to content

Commit f79de37

Browse files
committed
Re-expose idris version info
1 parent 2ff165f commit f79de37

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

base.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,7 @@ ENV LD_LIBRARY_PATH="/root/.idris2/lib:${LD_LIBRARY_PATH}"
5555
# NOTE: not sure if the install-api transfers to the child images
5656
RUN make clean && make all && make install
5757
RUN make install-api
58+
59+
# re-expose version information
60+
ENV IDRIS_VERSION=$IDRIS_VERSION
61+
ENV IDRIS_SHA=$IDRIS_SHA

devcontainer.Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/base:bullseye
5757

5858
ARG IDRIS_LSP_VERSION=latest
5959
ARG IDRIS_LSP_SHA
60+
ARG IDRIS_VERSION
6061
ARG IDRIS_SHA
6162

6263
# idris2 + idris2-lsp compiled from source
@@ -71,8 +72,9 @@ ENV PATH="/usr/local/lib/idris2/bin:${PATH}"
7172
ENV LD_LIBRARY_PATH="/usr/local/lib/idris2/lib:${LD_LIBRARY_PATH}"
7273
ENV SCHEME=scheme
7374

74-
# re-expose IDRIS_LSP_VERSION and IDRIS_LSP_SHA args as env vars in the container
75+
# re-expose version information
7576
ENV IDRIS_LSP_VERSION=$IDRIS_LSP_VERSION
7677
ENV IDRIS_LSP_SHA=$IDRIS_LSP_SHA
78+
ENV IDRIS_VERSION=$IDRIS_VERSION
7779
ENV IDRIS_SHA=$IDRIS_SHA
7880

0 commit comments

Comments
 (0)