Skip to content

[Docker] Support Build Args for MAVEN and NPM Proxies for local dev #1744

Closed

Description

@newfront

If you are trying to build the unitycatalog:server or unitycatalog:ui behind a corporate firewall, the builds will fail.

This change will provide optional build-args that will default to empty, that will enable the docker images to be built for local testing.

docker build \
  --build-arg MAVEN_PROXY_URL="$MAVEN_PROXY_URL" \
  -t unitycatalog/unitycatalog:0.6.0-SNAPSHOT \
  .

and

docker build \
--build-arg NPM_REGISTRY="$NPM_REGISTRY" \
-t unitycatalog/unitycatalog-ui:0.1-SNAPSHOT \
./ui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions