Skip to content

Commit

Permalink
discard building from base
Browse files Browse the repository at this point in the history
due to the bug in common-utils
devcontainers/features#647
  • Loading branch information
ankudinov committed Aug 10, 2023
1 parent 12b3ef0 commit 7adfdd5
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion avd-containers/dev/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@
FROM ghcr.io/ankudinov/avd-devcontainer/base:v4.1.0
# FROM ghcr.io/ankudinov/avd-devcontainer/base:v4.1.0

ARG VARIANT=3.11-slim-bullseye
FROM python:${VARIANT}

# install essential tools
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
make \
git \
&& rm -rf /var/lib/apt/lists/* \
&& rm -Rf /usr/share/doc && rm -Rf /usr/share/man \
&& apt-get clean

# add entrypoint script
COPY ./entrypoint.sh /bin/entrypoint.sh
RUN chmod +x /bin/entrypoint.sh
# use ENTRYPOINT instead of CMD to ensure that entryscript is always executed
ENTRYPOINT [ "/bin/entrypoint.sh" ]

0 comments on commit 7adfdd5

Please sign in to comment.