0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 08:40:03 +01:00

fix(codespaces): only pin versions to major versions (#8318)

* fix: don't pin docker.io, avoid package install issues

* pin to major versions
This commit is contained in:
Harry Waye 2022-01-28 11:23:17 +00:00 committed by GitHub
parent e6d72f209a
commit aafad724ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,14 +21,14 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt-get update \
&& apt-get -y install --no-install-recommends \
# Add docker cli so we can do things like `docker logs`, and build images
"docker.io=20.10.5+dfsg1-1+b5" \
"docker.io=20.*" \
# Add in useful db debugging tools
"postgresql-client=13+225" \
"postgresql-client=13+*" \
&& rm -rf /var/lib/apt/lists/*
# Install node
RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash - \
&& apt-get -y install --no-install-recommends "nodejs=14.18.2-deb-1nodesource1" \
&& apt-get -y install --no-install-recommends "nodejs=14.*" \
&& rm -rf /var/lib/apt/lists/*
# NOTE: the below is mostly just a copy of /dev.Dockerfile