Files
devbox-images/devbox/react/Dockerfile

21 lines
849 B
Docker

FROM coder-devbox-base-config:latest AS base-default
USER root
RUN DEBIAN_FRONTEND=noninteractive apt-get update -y -qqq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends -qqq libpq-dev libffi-dev zlib1g-dev libedit-dev libyaml-dev redis-server libicu-dev postgresql-client psmisc
USER coder
# Node.js/npm/typescript-language-server are already provided by base-config —
# this flavor previously tried to install a second, differently-versioned
# Node via an undefined $NODE_VERSION build arg (never declared or passed in
# compose.yaml, so always empty) and cloned/built rbenv + Ruby, which has
# nothing to do with a React/TypeScript flavor. Removed both as dead,
# non-functional leftovers.
RUN echo "[ Installing heroku cli ]" \
&& curl https://cli-assets.heroku.com/install.sh | sh