Skip to content

Commit

Permalink
Merge pull request #134 from pataquets/dockerfile--enable-python-vers…
Browse files Browse the repository at this point in the history
…ion-build-arg

Dockerfile: allow specifying build's Python version via ARG parameter.
  • Loading branch information
Samuel Walladge authored Mar 24, 2023
2 parents eb6869e + 4da5958 commit 4e6eefd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# docker build . [--build-arg editor_packages=neovim] -t sncli
# docker run --rm -it -v /tmp:/tmp -v "$HOME/.sncli/:/root/.sncli/" -v "$HOME/.snclirc:/root/.snclirc" sncli
FROM python:3.9-bullseye
ARG python_version="3.9"
FROM python:${python_version}-bullseye

ARG editor_packages="vim"
ARG pager_packages="less"
Expand Down

0 comments on commit 4e6eefd

Please sign in to comment.