Skip to content

Commit

Permalink
chore: update Dockerfile to use eclipse-temurin:11-alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
PenghaiZhang committed Jan 30, 2023
1 parent cef84e0 commit 92c248b
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
FROM eclipse-temurin:11 as baseequella
FROM eclipse-temurin:11-alpine as baseequella

# Install needed tools to install and run openEQUELLA, clean up the apt cache afterwards.

ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8

RUN useradd -ms /bin/bash equella \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
imagemagick \
ffmpeg \
unzip \
&& rm -rf /var/lib/apt/lists/*
RUN apk update \
&& apk add --no-cache bash curl imagemagick ffmpeg unzip
RUN adduser equella --disabled-password --gecos -shell /bin/bash

# Install openEQUELLA
FROM baseequella as installer
Expand Down

0 comments on commit 92c248b

Please sign in to comment.