From 751b923987c85601ea3f79a6e9bada4678235962 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Tue, 18 Jan 2022 12:27:03 +0100 Subject: [PATCH] feat(pre-commit): add golang as system level dependency According to https://pre-commit.com/#golang Go must be present to run go-based hooks. --- pre-commit/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre-commit/Dockerfile b/pre-commit/Dockerfile index 8b99ac57..317d80e7 100644 --- a/pre-commit/Dockerfile +++ b/pre-commit/Dockerfile @@ -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 && \