mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[REM] Dockerflie: remove IDE due to build problems
This commit is contained in:
24
Dockerfile
24
Dockerfile
@@ -1,29 +1,5 @@
|
|||||||
FROM hibou/hibou-odoo:14.0
|
FROM hibou/hibou-odoo:14.0
|
||||||
|
|
||||||
USER 0
|
|
||||||
WORKDIR /opt/theia
|
|
||||||
COPY dev.package.json ./package.json
|
|
||||||
RUN set -x; \
|
|
||||||
curl -sL https://deb.nodesource.com/setup_12.x | bash - \
|
|
||||||
&& apt-get install -y \
|
|
||||||
nodejs \
|
|
||||||
build-essential \
|
|
||||||
libsecret-1-0 \
|
|
||||||
procps \
|
|
||||||
&& npm install --global yarn
|
|
||||||
RUN yarn --pure-lockfile && \
|
|
||||||
NODE_OPTIONS="--max_old_space_size=4096" yarn theia build && \
|
|
||||||
yarn theia download:plugins && \
|
|
||||||
yarn --production && \
|
|
||||||
yarn autoclean --init && \
|
|
||||||
echo *.ts >> .yarnclean && \
|
|
||||||
echo *.ts.map >> .yarnclean && \
|
|
||||||
echo *.spec.* >> .yarnclean && \
|
|
||||||
yarn autoclean --force && \
|
|
||||||
yarn cache clean && \
|
|
||||||
chown -R 104:33 /opt/theia \
|
|
||||||
;
|
|
||||||
|
|
||||||
USER 104
|
USER 104
|
||||||
COPY --from=hibou/flow /flow /flow
|
COPY --from=hibou/flow /flow /flow
|
||||||
COPY --chown=104 entrypoint.sh /entrypoint.sh
|
COPY --chown=104 entrypoint.sh /entrypoint.sh
|
||||||
|
|||||||
@@ -1,29 +1,5 @@
|
|||||||
FROM registry.gitlab.com/hibou-io/hibou-odoo/odoo:RELEASE
|
FROM registry.gitlab.com/hibou-io/hibou-odoo/odoo:RELEASE
|
||||||
|
|
||||||
USER 0
|
|
||||||
WORKDIR /opt/theia
|
|
||||||
COPY dev.package.json ./package.json
|
|
||||||
RUN set -x; \
|
|
||||||
curl -sL https://deb.nodesource.com/setup_12.x | bash - \
|
|
||||||
&& apt-get install -y \
|
|
||||||
nodejs \
|
|
||||||
build-essential \
|
|
||||||
libsecret-1-0 \
|
|
||||||
procps \
|
|
||||||
&& npm install --global yarn
|
|
||||||
RUN yarn --pure-lockfile && \
|
|
||||||
NODE_OPTIONS="--max_old_space_size=4096" yarn theia build && \
|
|
||||||
yarn theia download:plugins && \
|
|
||||||
yarn --production && \
|
|
||||||
yarn autoclean --init && \
|
|
||||||
echo *.ts >> .yarnclean && \
|
|
||||||
echo *.ts.map >> .yarnclean && \
|
|
||||||
echo *.spec.* >> .yarnclean && \
|
|
||||||
yarn autoclean --force && \
|
|
||||||
yarn cache clean && \
|
|
||||||
chown -R 104:33 /opt/theia \
|
|
||||||
;
|
|
||||||
|
|
||||||
USER 104
|
USER 104
|
||||||
COPY --from=registry.gitlab.com/hibou-io/hibou-odoo/flow /flow /flow
|
COPY --from=registry.gitlab.com/hibou-io/hibou-odoo/flow /flow /flow
|
||||||
COPY --chown=104 entrypoint.sh /entrypoint.sh
|
COPY --chown=104 entrypoint.sh /entrypoint.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user