Skip to content

Issue building docker image using example build config #1303

Answered by mmourafiq
minaadel asked this question in Q&A
Discussion options

You must be logged in to vote

Very strange, and I could not reproduce. Did you try other files in the same examples folder https://github.com/polyaxon/polyaxon-examples/tree/master/in_cluster/build_image ?
Not sure if quoting all values would work on your system:

version: 1.1
kind: operation
name: build
params:
  destination:
    connection: localreg
    value: "polyaxon-examples:ml"
runPatch:
  init:
  - dockerfile:
      image: "python:3.8.8-buster"
      run:
      - 'pip3 install --no-cache-dir -U polyaxon["polyboard"]'
      - 'pip3 install scikit-learn xgboost matplotlib vega-datasets joblib lightgbm xgboost'
      langEnv: 'en_US.UTF-8'
hubRef: kaniko

Finally you may try with polyaxon -v ... to trigger some add…

Replies: 14 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by polyaxon-team
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1271 on April 27, 2021 08:10.