forked from OpenEMS/openems
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitpod.Dockerfile
28 lines (22 loc) · 1.06 KB
/
.gitpod.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
FROM gitpod/workspace-postgres
RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh \
&& sdk install java 17.0.6-tem"
# disable angular analytics
ENV NG_CLI_ANALYTICS=false
# Docker build does not rebuild an image when a base image is changed, increase this counter to trigger it.
ENV TRIGGER_REBUILD 4
RUN npm install -g @angular/cli
# Install odoo
ENV ODOO_VERSION 16.0
ENV ODOO_RELEASE latest
RUN curl -o odoo.deb -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \
&& sudo apt-get update \
&& sudo apt-get -y install --no-install-recommends ./odoo.deb \
&& sudo rm -rf /var/lib/apt/lists/* odoo.deb
# Install wkhtmltopdf
ENV WKHTMLTOPDF_VERSION 0.12.6.1-2
ENV WKHTMLTOPDF_RELEASE jammy_amd64
RUN curl -o wkhtmltox.deb -sSL https://github.com/wkhtmltopdf/packaging/releases/download/${WKHTMLTOPDF_VERSION}/wkhtmltox_${WKHTMLTOPDF_VERSION}.${WKHTMLTOPDF_RELEASE}.deb \
&& sudo apt-get update \
&& sudo apt-get install -y ./wkhtmltox.deb \
&& sudo rm -rf /var/lib/apt/lists/* wkhtmltox.deb