Skip to content

Commit

Permalink
Merge pull request #5 from marciogranzotto/fix-nightscout-version
Browse files Browse the repository at this point in the history
Hardcode Nightscout version
  • Loading branch information
marciogranzotto committed Sep 26, 2020
2 parents 04eb549 + 57db506 commit 0283466
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"extensions": [
"exiasr.hadolint",
"omartawfik.github-actions-vscode",
"mrmlnc.vscode-remark"
"mrmlnc.vscode-remark",
"ms-azuretools.vscode-docker"
]

// Use 'forwardPorts' to make a list of ports inside the container available locally.
Expand Down
3 changes: 2 additions & 1 deletion nightscout/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ COPY . /opt
WORKDIR /opt/app

ARG BUILD_ARCH=amd64
ARG NIGHTSCOUT_VERSION=14.0.4
# hadolint ignore=DL3008
RUN \
URL="http://archive.ubuntu.com/ubuntu/" \
Expand Down Expand Up @@ -45,7 +46,7 @@ RUN \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN git clone git://github.com/nightscout/cgm-remote-monitor.git /opt/app
RUN git clone --depth 1 --branch ${NIGHTSCOUT_VERSION} git://github.com/nightscout/cgm-remote-monitor.git /opt/app

RUN npm install \
&& npm run postinstall \
Expand Down

0 comments on commit 0283466

Please sign in to comment.