1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +02:00

update webdis

This commit is contained in:
kev 2023-09-06 15:10:06 +08:00
parent fe04a03d10
commit 0649bf67ec

View File

@ -2,14 +2,14 @@
# Dockerfile for webdis
#
FROM alpine:3 AS stage
ENV WEBDIS_VERSION=0.1.15
RUN apk add --no-cache wget make gcc libevent-dev msgpack-c-dev musl-dev bsd-compat-headers
FROM alpine:3.18 AS stage
ENV WEBDIS_VERSION=0.1.22
RUN apk add --no-cache wget make gcc libevent-dev msgpack-c-dev musl-dev openssl-dev bsd-compat-headers jq
RUN wget https://github.com/nicolasff/webdis/archive/$WEBDIS_VERSION.tar.gz -O webdis.tar.gz
RUN tar -xvzf webdis.tar.gz && cd webdis-$WEBDIS_VERSION && make && make install
RUN which webdis
FROM alpine:3
FROM alpine:3.18
MAINTAINER EasyPi Software Foundation
RUN apk add --no-cache libcrypto1.1 libevent msgpack-c
COPY --from=stage /usr/local/bin/webdis /usr/local/bin/