Skip to content

Commit

Permalink
chore(deps): install dotnet tools from manifest (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
chgl authored Mar 24, 2024
1 parent 96eff0e commit b740740
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
10 changes: 10 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"version": 1,
"isRoot": true,
"tools": {
"firely.terminal": {
"version": "3.2.0-beta-1",
"commands": ["fhir"]
}
}
}
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*
!package*.json
!.config/
2 changes: 1 addition & 1 deletion .github/workflows/lint-pr-title.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
permissions:
pull-requests: write
steps:
- uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f # v5
- uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f # v5.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23 changes: 5 additions & 18 deletions .renovaterc.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,22 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>miracum/.github//renovate/default"
],
"extends": ["github>miracum/.github//renovate/default"],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"(^|/)Dockerfile$"
],
"matchStrings": [
"PUBLISHER_VERSION=(?<currentValue>.*?)\n"
],
"fileMatch": ["(^|/)Dockerfile$"],
"matchStrings": ["PUBLISHER_VERSION=(?<currentValue>.*?)\n"],
"depNameTemplate": "HL7/fhir-ig-publisher",
"datasourceTemplate": "github-releases"
}
],
"packageRules": [
{
"matchPackageNames": [
"HL7/fhir-ig-publisher"
],
"matchPackageNames": ["HL7/fhir-ig-publisher"],
"extractVersion": "^(?<version>.*)$"
},
{
"matchUpdateTypes": [
"minor",
"patch",
"pin",
"digest"
],
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true
}
]
Expand Down
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# syntax=docker/dockerfile:1.6@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021
FROM docker.io/library/eclipse-temurin:11-jre@sha256:05ee511056c2991a5e60fd6659a8d6aba93163c858ee545413a78b5b9842c4d8
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
WORKDIR /opt/ig-build-tools
ENV NO_UPDATE_NOTIFIER=true \
NODE_ENV=production \
JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF-8" \
NODE_MAJOR=18
NODE_MAJOR=18 \
DOTNET_CLI_TELEMETRY_OPTOUT=1

# hadolint ignore=DL3008,DL3028
RUN <<EOF
Expand All @@ -21,9 +21,11 @@ apt-get clean
rm -rf /var/lib/apt/lists/*

gem install jekyll bundler
dotnet tool install --global Firely.Terminal --version 3.1.0
EOF

COPY .config/ .
RUN dotnet tool restore

COPY package*.json .
RUN npm clean-install

Expand Down

0 comments on commit b740740

Please sign in to comment.