Skip to content

Commit

Permalink
ta-lib-0.6.2 dockerfiles changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzsnz committed Dec 27, 2024
1 parent bc9f088 commit e5a6197
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ wheels/
build/
dist/
pass/
.vscode/
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ ARG IMG_PYTHON_VERSION=$IMG_PYTHON_VERSION
FROM python:$IMG_PYTHON_VERSION AS builder

Check warning on line 6 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build and test

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG python:$IMG_PYTHON_VERSION results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 6 in Dockerfile

View workflow job for this annotation

GitHub Actions / check_base

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG python:$IMG_PYTHON_VERSION results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

ENV APT_PROXY_FILE=/etc/apt/apt.conf.d/01proxy
ARG GH_URL_BASE=https://github.com/quantbelt/jupyter-quant/releases/download/ta-lib-0.4.0-linux
ARG TALIB_FILE=ta-lib-0.4.0-linux_
ARG TALIB_VERSION=ta-lib-0.6.2-linux
ARG GH_URL_BASE=https://github.com/quantbelt/jupyter-quant/releases/download/${TALIB_VERSION}
ARG TALIB_FILE="${TALIB_VERSION}_"
ARG TALIB_URL="${GH_URL_BASE}/${TALIB_FILE}"

COPY README.md LICENSE.txt pyproject.toml /
Expand Down

0 comments on commit e5a6197

Please sign in to comment.