Skip to content

Commit

Permalink
feat(pre-commit): add golang as system level dependency
Browse files Browse the repository at this point in the history
According to https://pre-commit.com/#golang Go must be present to run go-based hooks.
  • Loading branch information
yajo authored and aexvir committed Feb 21, 2022
1 parent 087cf38 commit 751b923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pre-commit/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM python:3.10-slim
ENV PATH="$PATH:/root/.pyenv/bin:/root/.pyenv/shims"
ENV version=2.17.0

RUN apt update && apt install -y git bash curl build-essential libffi-dev libssl-dev libbz2-dev libncursesw5-dev libgdbm-dev liblzma-dev libsqlite3-dev tk-dev uuid-dev libreadline-dev nodejs npm zlib1g-dev && \
RUN apt update && apt install -y git golang bash curl build-essential libffi-dev libssl-dev libbz2-dev libncursesw5-dev libgdbm-dev liblzma-dev libsqlite3-dev tk-dev uuid-dev libreadline-dev nodejs npm zlib1g-dev && \
curl --location https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash && \
pyenv update && \
pyenv install 3.7.9 && \
Expand Down

0 comments on commit 751b923

Please sign in to comment.