generated from AndreasAugustin/template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
33 lines (24 loc) · 1009 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#######################################
# image for dev build environment
######################################
FROM alpine:3.19.1 as DEV
# install packages
RUN apk add --update --no-cache bash make git zsh curl tmux
# Make zsh your default shell for tmux
RUN echo "set-option -g default-shell /bin/zsh" >> /root/.tmux.conf
# install oh-my-zsh
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
WORKDIR /app
#######################################
# image for creating the documentation
######################################
FROM node:20.7.0-alpine as DOCS
# install packages
RUN apk add --update --no-cache bash make git zsh curl tmux
# Make zsh your default shell for tmux
RUN echo "set-option -g default-shell /bin/zsh" >> /root/.tmux.conf
# install oh-my-zsh
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# install quality gate
RUN npm install -g markdownlint-cli
WORKDIR /app