Switch container to alpine
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3609866dae
commit
858fdd2e9c
2 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,6 @@
|
|||
FROM debian:stable
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apt-get update -y && apt-get upgrade -y && \
|
||||
apt-get install -y nginx openjdk-11-jre wget && \
|
||||
RUN apk add --update --no-cache nginx openjdk11-jre && \
|
||||
mkdir -p /var/fling/files && \
|
||||
mkdir -p /tmp/fling && \
|
||||
wget -O /tmp/fling/service.jar "https://nexus.friedl.net/service/rest/v1/search/assets/download?sort=version&maven.groupId=net.friedl&maven.artifactId=fling&maven.baseVersion=*SNAPSHOT&maven.extension=jar" && \
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
set -xe
|
||||
|
||||
nginx
|
||||
rc-service nginx start
|
||||
|
||||
java ${FL_JVM_OPTS} -jar service.jar
|
||||
|
|
Loading…
Reference in a new issue