mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 12:01:38 +02:00
⬆️ Update devenv dockerfile
This commit is contained in:
parent
444b7d5aae
commit
e96fc32cc1
2 changed files with 27 additions and 21 deletions
|
@ -65,8 +65,6 @@
|
||||||
{:processed (+ stotal htotal)
|
{:processed (+ stotal htotal)
|
||||||
:orphans stotal}))))
|
:orphans stotal}))))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(def ^:private sql:get-profiles-chunk
|
(def ^:private sql:get-profiles-chunk
|
||||||
"select id, photo_id, created_at from profile
|
"select id, photo_id, created_at from profile
|
||||||
where deleted_at is not null
|
where deleted_at is not null
|
||||||
|
|
|
@ -3,10 +3,10 @@ LABEL maintainer="Andrey Antukh <niwi@niwi.nz>"
|
||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
ENV NODE_VERSION=v18.12.0 \
|
ENV NODE_VERSION=v18.15.0 \
|
||||||
CLOJURE_VERSION=1.11.1.1189 \
|
CLOJURE_VERSION=1.11.1.1257 \
|
||||||
CLJKONDO_VERSION=2022.10.14 \
|
CLJKONDO_VERSION=2023.03.17 \
|
||||||
BABASHKA_VERSION=0.9.162 \
|
BABASHKA_VERSION=1.3.176 \
|
||||||
LANG=en_US.UTF-8 \
|
LANG=en_US.UTF-8 \
|
||||||
LC_ALL=en_US.UTF-8
|
LC_ALL=en_US.UTF-8
|
||||||
|
|
||||||
|
@ -15,6 +15,9 @@ RUN set -ex; \
|
||||||
echo "nameserver 8.8.8.8" > /etc/resolvconf/resolv.conf.d/tail; \
|
echo "nameserver 8.8.8.8" > /etc/resolvconf/resolv.conf.d/tail; \
|
||||||
apt-get -qq update; \
|
apt-get -qq update; \
|
||||||
apt-get -qqy install --no-install-recommends \
|
apt-get -qqy install --no-install-recommends \
|
||||||
|
build-essential \
|
||||||
|
openssh-client \
|
||||||
|
redis-tools \
|
||||||
locales \
|
locales \
|
||||||
gnupg2 \
|
gnupg2 \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
@ -32,6 +35,8 @@ RUN set -ex; \
|
||||||
netcat \
|
netcat \
|
||||||
file \
|
file \
|
||||||
less \
|
less \
|
||||||
|
jq \
|
||||||
|
nginx \
|
||||||
; \
|
; \
|
||||||
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; \
|
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; \
|
||||||
locale-gen; \
|
locale-gen; \
|
||||||
|
@ -45,26 +50,17 @@ RUN set -ex; \
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
apt-get -qq update; \
|
apt-get -qq update; \
|
||||||
apt-get -qqy install --no-install-recommends \
|
apt-get -qqy install --no-install-recommends \
|
||||||
build-essential \
|
python3 \
|
||||||
|
python3-tabulate \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
netpbm \
|
netpbm \
|
||||||
poppler-utils \
|
poppler-utils \
|
||||||
potrace \
|
potrace \
|
||||||
webp \
|
webp \
|
||||||
nginx \
|
|
||||||
jq \
|
|
||||||
redis-tools \
|
|
||||||
woff-tools \
|
woff-tools \
|
||||||
woff2 \
|
woff2 \
|
||||||
fontforge \
|
fontforge \
|
||||||
openssh-client \
|
|
||||||
; \
|
|
||||||
rm -rf /var/lib/apt/lists/*;
|
|
||||||
|
|
||||||
RUN set -ex; \
|
|
||||||
apt-get -qq update; \
|
|
||||||
apt-get -qqy install \
|
|
||||||
gconf-service \
|
gconf-service \
|
||||||
libasound2 \
|
libasound2 \
|
||||||
libatk1.0-0 \
|
libatk1.0-0 \
|
||||||
|
@ -168,13 +164,25 @@ RUN set -eux; \
|
||||||
/usr/local/nodejs/bin/npm install -g yarn; \
|
/usr/local/nodejs/bin/npm install -g yarn; \
|
||||||
rm -rf /tmp/nodejs.tar.xz;
|
rm -rf /tmp/nodejs.tar.xz;
|
||||||
|
|
||||||
# TODO: waiting for aarch64 build
|
|
||||||
# Install clj-kondo
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
curl -LfsSo /tmp/clj-kondo.zip https://github.com/borkdude/clj-kondo/releases/download/v$CLJKONDO_VERSION/clj-kondo-$CLJKONDO_VERSION-linux-amd64.zip; \
|
ARCH="$(dpkg --print-architecture)"; \
|
||||||
|
case "${ARCH}" in \
|
||||||
|
aarch64|arm64) \
|
||||||
|
BINARY_URL="https://github.com/clj-kondo/clj-kondo/releases/download/v$CLJKONDO_VERSION/clj-kondo-$CLJKONDO_VERSION-linux-aarch64.zip"; \
|
||||||
|
;; \
|
||||||
|
amd64|x86_64) \
|
||||||
|
BINARY_URL="https://github.com/clj-kondo/clj-kondo/releases/download/v$CLJKONDO_VERSION/clj-kondo-$CLJKONDO_VERSION-linux-amd64.zip"; \
|
||||||
|
;; \
|
||||||
|
*) \
|
||||||
|
echo "Unsupported arch: ${ARCH}"; \
|
||||||
|
exit 1; \
|
||||||
|
;; \
|
||||||
|
esac; \
|
||||||
|
cd /tmp; \
|
||||||
|
curl -LfsSo /tmp/clj-kondo.zip ${BINARY_URL}; \
|
||||||
cd /usr/local/bin; \
|
cd /usr/local/bin; \
|
||||||
unzip /tmp/clj-kondo.zip; \
|
unzip /tmp/clj-kondo.zip; \
|
||||||
rm /tmp/clj-kondo.zip;
|
rm -rf /tmp/clj-kondo.zip;
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
ARCH="$(dpkg --print-architecture)"; \
|
ARCH="$(dpkg --print-architecture)"; \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue