Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retype License violation on build #712

Open
siemendev opened this issue Oct 17, 2024 · 2 comments
Open

Retype License violation on build #712

siemendev opened this issue Oct 17, 2024 · 2 comments

Comments

@siemendev
Copy link

siemendev commented Oct 17, 2024

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:

INPUT: /build
OUTPUT: /build/.docker-build
ERROR: Retype License violation.

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?

@geoffreymcgill
Copy link
Collaborator

Likely related to issue #708. Please ensure you are using the latest v3.6.0 release.

@siemendev
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants