diff --git a/Dockerfile b/Dockerfile index 1c659fa..1a7e9c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:3.15 as builder -MAINTAINER Opstree Solutions +LABEL maintainer="Opstree Solutions" ARG TARGETARCH @@ -14,14 +14,17 @@ ARG REDIS_VERSION="stable" RUN apk add --no-cache su-exec tzdata make curl build-base linux-headers bash openssl-dev RUN curl -fL -Lo /tmp/redis-${REDIS_VERSION}.tar.gz ${REDIS_DOWNLOAD_URL}/redis-${REDIS_VERSION}.tar.gz && \ - tar xvzf redis-${REDIS_VERSION}.tar.gz && \ - cd redis-${REDIS_VERSION} && \ - make && \ + tar xvzf redis-${REDIS_VERSION}.tar.gz + +WORKDIR /tmp/redis-${REDIS_VERSION} + +RUN make && \ make install BUILD_TLS=yes + FROM alpine:3.15 -MAINTAINER Opstree Solutions +LABEL maintainer="Opstree Solutions" ARG TARGETARCH