GithubHelp home page GithubHelp logo

Comments (4)

EladLeev avatar EladLeev commented on June 21, 2024 1

I've created a secondary Docker image that build the application from the source (no local dep), hope it helps -
#112

from schema-registry-ui.

seruman avatar seruman commented on June 21, 2024

I'm having the same issue with landoop/schema-registry:{0.9.5, latest}. Apparently it's fixed in master and latest image built from c99eb61.
Since in Dockerfile it's downloading a specific version (which 15 commits behind master) instead of building from source, latest image also has this issue.

ENV SCHEMA_REGISTRY_UI_VERSION="0.9.5"

from schema-registry-ui.

diseku avatar diseku commented on June 21, 2024

Same issue, readonly mode not functional.
Any plans for new release?

from schema-registry-ui.

kmcminn avatar kmcminn commented on June 21, 2024

just patched this in my private docker registry. This is fixed on master but unreleased as mentioned.

to make a local build you'll need node11 w/ npm6 (node12 is prob ok also) and then:

  • clone into this repo
  • npm install
  • npm run build-prod
  • docker build -t privaterepo/sometag:latest -f mycustomdockefile .
  • docker push privaterepo/sometag:latest

then use this modified Dockerfile:

ENV SCHEMA_REGISTRY_UI_VERSION="master"
WORKDIR /

RUN apk add --no-cache ca-certificates wget && \
    echo "progress = dot:giga" | tee /etc/wgetrc

RUN wget "https://github.com/mholt/caddy/releases/download/v0.10.11/caddy_v0.10.11_linux_amd64.tar.gz" -O /caddy.tgz && \
    mkdir caddy && \
    tar xzf caddy.tgz -C /caddy --no-same-owner && \
    rm -f /caddy.tgz

COPY dist/ /schema-registry-ui
RUN rm -f /schema-registry-ui/env.js && ln -s /tmp/env.js /schema-registry-ui/env.js
ADD docker/Caddyfile /caddy/Caddyfile.template
ADD docker/run.sh /
RUN chmod +x /run.sh
EXPOSE 8000
ENTRYPOINT ["/run.sh"]

from schema-registry-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.