diff --git a/CHANGELOG.md b/CHANGELOG.md index a52047620..2687c8399 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image - Allow to override the proposed branch names when calling [hardis:work:new](https://hardisgroupcom.github.io/sfdx-hardis/hardis/work/new/), using property **branchPrefixChoices** - Add yarn in dockerfile - hardis:project:clean:hiddenitems: Also clean LWC with hidden content +- Dockerfile: Workaround for https://github.com/forcedotcom/salesforcedx-apex/issues/213 ## [2.98.1] 2022-01-23 diff --git a/Dockerfile b/Dockerfile index 97e40cf55..90a974e67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ ENV PUPPETEER_EXECUTABLE_PATH="${CHROMIUM_PATH}" # hadolint ignore=DL3044 ENV PATH="/node_modules/.bin:${PATH}" -ARG SFDX_CLI_VERSION=7.173.0 +ARG SFDX_CLI_VERSION=latest ARG SFDX_HARDIS_VERSION=latest # Install npm packages +install sfdx plugins & display versions @@ -33,3 +33,6 @@ RUN npm install --no-cache yarn -g && \ sfdx --version && \ sfdx plugins +# Workaround for https://github.com/forcedotcom/salesforcedx-apex/issues/213 +COPY ref/workarounds/dateUtil.js /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/apex-node/lib/src/utils/dateUtil.js +COPY ref/workarounds/junitReporter.js /usr/local/lib/node_modules/sfdx-cli/node_modules/@salesforce/apex-node/lib/src/reporters/junitReporter.js \ No newline at end of file