18 lines
347 B
Docker
18 lines
347 B
Docker
FROM docker.io/library/ruby:3.3
|
|
|
|
ARG SMASHING_VERSION
|
|
|
|
RUN gem install smashing -v ${SMASHING_VERSION}
|
|
RUN apt update --yes
|
|
RUN apt install nodejs --yes
|
|
RUN apt clean all
|
|
RUN mkdir --parents /smashing
|
|
|
|
ENV SMASHING_PROJECT_DIR=/smashing
|
|
|
|
ADD container-entrypoint.sh /container-entrypoint.sh
|
|
|
|
ENTRYPOINT ["/container-entrypoint.sh"]
|
|
|
|
CMD ["start"]
|