You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running docker build locally on the same dockerfile there are no issues.
Dockerfile:
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS builder
WORKDIR /build
COPY . /build
RUN dotnet tool install retypeapp --tool-path /bin
RUN retype build --output .docker-build/
FROM httpd:latest
COPY --from=builder /build/.docker-build/ /usr/local/apache2/htdocs/docs/
I have 4-5 different plain text md files and I do not use pro features (i guess that would fail locally already since I do not have a license there either).
Any ideas on this?
The text was updated successfully, but these errors were encountered:
As you can see in the dockerfile, the version I'm using is the latest version available through dotnet tool installl. I have not been successful in building a custom docker image neither using dotnet, nor npm/yarn
In my case I could not use the npm/yarn packages, since I host on arm64 nodes and those are not build for arm64 (only the darwin version but I run linux). The published Docker Hub Image retypeapp/retype is no longer up to date and throws the following error:
This release of Retype has expired. Please update to the latest release. A Retype license is required to continue using this release.
Final solution: The only way I could get all of this running is Github Actions.
I use a custom dockerfile to build a basic container that contains a retype generated static site.
When running docker build in my CI (GH Actions), i get the following error:
When running docker build locally on the same dockerfile there are no issues.
Dockerfile:
I have 4-5 different plain text md files and I do not use pro features (i guess that would fail locally already since I do not have a license there either).
Any ideas on this?
The text was updated successfully, but these errors were encountered: