mirror of
https://git.cloudron.io/cloudron/mastodon-app.git
synced 2025-01-09 14:05:24 +00:00
Update base image to 4.0.0
This commit is contained in:
parent
e9084eeb72
commit
8aa53f4f3e
1 changed files with 6 additions and 1 deletions
|
@ -1,8 +1,13 @@
|
||||||
FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea
|
FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03fb02dd4e9d0286df
|
||||||
|
|
||||||
RUN mkdir -p /app/code /app/pkg
|
RUN mkdir -p /app/code /app/pkg
|
||||||
WORKDIR /app/code
|
WORKDIR /app/code
|
||||||
|
|
||||||
|
ARG NODE_VERSION=16.18.1
|
||||||
|
RUN mkdir -p /usr/local/node-${NODE_VERSION} && \
|
||||||
|
curl -L https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz | tar zxf - --strip-components 1 -C /usr/local/node-${NODE_VERSION}
|
||||||
|
ENV PATH /usr/local/node-${NODE_VERSION}/bin:$PATH
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt install -y imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git-core \
|
apt install -y imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git-core \
|
||||||
g++ libprotobuf-dev protobuf-compiler pkg-config nodejs gcc autoconf \
|
g++ libprotobuf-dev protobuf-compiler pkg-config nodejs gcc autoconf \
|
||||||
|
|
Loading…
Reference in a new issue