FROM elixir:1.17-otp-27 LABEL org.opencontainers.image.description="Elixir devcontainer for VSCode or Codespaces" # Avoid warnings by switching to noninteractive ENV DEBIAN_FRONTEND=noninteractive ENV LANG="C.UTF-8" # Install basic build tools RUN apt-get update \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends \ build-essential \ curl \ gettext \ inotify-tools \ make \ unzip # Switch back to dialog for any ad-hoc use of apt-get ENV DEBIAN_FRONTEND=dialog # Mount for docker-in-docker VOLUME [ "/var/lib/docker" ] # Fire Docker/Moby script if needed ENTRYPOINT [ "/usr/local/share/docker-init.sh", "/usr/local/share/ssh-init.sh"] CMD [ "sleep", "infinity" ]