Skip to content

Commit

Permalink
Fix the SED command for replacing version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
cscollett committed Aug 27, 2024
1 parent cd25f96 commit 9b857a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ RUN pip uninstall -y poetry
# Remove poetry.lock and install dependencies
RUN rm poetry.lock
## Substitute all numbers in pyproject.toml with *
RUN sed -i 's/[0-9]/*/g' pyproject.toml
RUN sed -i 's/\^*[0-9][0-9A-Za-z.\-]*/*/g' pyproject.toml
# Print toml file
RUN cat pyproject.toml
RUN pip install poetry
Expand Down

0 comments on commit 9b857a0

Please sign in to comment.