This repository was archived by the owner on Jun 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -2,18 +2,21 @@ ARG JLS_VERSION=28662
2
2
ARG JLS_SHA256=6b3ce4bfc043985276bf6094ca5ed6aef1a1f305f6903725074f36634f3880ba
3
3
4
4
FROM crazymax/yasu:latest AS yasu
5
- FROM adoptopenjdk:8-jre-hotspot
5
+ FROM alpine:3.14
6
6
7
7
ENV JLS_PATH="/opt/jetbrains-license-server" \
8
8
TZ="UTC" \
9
9
PUID="1000" \
10
10
PGID="1000"
11
11
12
12
ARG JLS_SHA256
13
- RUN apt-get update \
14
- && apt-get install -y \
13
+ RUN apk add --update --no-cache \
15
14
bash \
15
+ ca-certificates \
16
16
curl \
17
+ openjdk8-jre \
18
+ openssl \
19
+ shadow \
17
20
zip \
18
21
tzdata \
19
22
&& mkdir -p /data "$JLS_PATH" \
@@ -23,11 +26,10 @@ RUN apt-get update \
23
26
&& rm -f "/tmp/jls.zip" \
24
27
&& chmod a+x "$JLS_PATH/bin/license-server.sh" \
25
28
&& ln -sf "$JLS_PATH/bin/license-server.sh" "/usr/local/bin/license-server" \
26
- && groupadd -f -g ${PGID} jls \
27
- && useradd -o -s /bin/bash -d /data -u ${PUID} -g jls -m jls \
29
+ && addgroup -g ${PGID} jls \
30
+ && adduser -u ${PUID} -G jls -h /data -s /bin/bash -D jls \
28
31
&& chown -R jls. /data "$JLS_PATH" \
29
- && apt-get clean \
30
- && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
32
+ && rm -rf /tmp/* /var/cache/apk/*
31
33
32
34
COPY --from=yasu / /
33
35
COPY entrypoint.sh /entrypoint.sh
Original file line number Diff line number Diff line change 11
11
12
12
## About
13
13
14
- [ JetBrains License Server] ( https://www.jetbrains.com/help/license_server/getting_started.html ) Docker image based on AdoptOpenJDK .<br />
14
+ [ JetBrains License Server] ( https://www.jetbrains.com/help/license_server/getting_started.html ) Docker image based on Alpine Linux .<br />
15
15
If you are interested, [ check out] ( https://hub.docker.com/r/crazymax/ ) my other Docker images!
16
16
17
17
💡 Want to be notified of new releases? Check out 🔔 [ Diun (Docker Image Update Notifier)] ( https://github.com/crazy-max/diun ) project!
@@ -70,6 +70,8 @@ Image: crazymax/jetbrains-license-server:latest
70
70
* Manifest List: Yes
71
71
* Supported platforms:
72
72
- linux/amd64
73
+ - linux/arm/v6
74
+ - linux/arm/v7
73
75
- linux/arm64
74
76
- linux/ppc64le
75
77
- linux/s390x
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ target "image-all" {
25
25
inherits = [" image" ]
26
26
platforms = [
27
27
" linux/amd64" ,
28
+ " linux/arm/v6" ,
29
+ " linux/arm/v7" ,
28
30
" linux/arm64" ,
29
31
" linux/ppc64le" ,
30
32
" linux/s390x"
You can’t perform that action at this time.
0 commit comments