Giter Club home page Giter Club logo

Comments (3)

LanikSJ avatar LanikSJ commented on June 29, 2024

Use docker images to determine an image ID. Then

○ → dfimage fca0739e7e0b
Unable to find image 'laniksj/dfimage:latest' locally
latest: Pulling from laniksj/dfimage
6c40cc604d8e: Pull complete
3f41d2f02cd5: Pull complete
dbbdf0be3d8f: Pull complete
Digest: sha256:07906210e42c7353296a5191bed7ba1c21b00bc76391138917e5bbe2ab9157eb
Status: Downloaded newer image for laniksj/dfimage:latest
FROM marksugar/redis:5.0.0
ADD file:25c10b1d1b41d46a1827ad0b0d2389c24df6d31430005ff4e9a2d84ea23ebd42 in /
CMD ["/bin/sh"]
MAINTAINER www.linuxea.com mark
ENV RS_VSON=5.0.0
ENV RS_USER=redis
ENV RS_VSON_URL=http://download.redis.io/releases/redis-5.0.0.tar.gz BATADIR=/usr/local/redis DATADIR=/data/redis DATALOG=/data/logs DATACIG=/etc/redis
RUN /bin/sh -c buildADD='gcc make musl-dev linux-headers tar curl' 	\
    && set -x 	\
    && addgroup -g 401 -S ${RS_USER} \
    && adduser -u 401 -S -H -s /sbin/nologin -g 'redis' -G ${RS_USER} ${RS_USER} 	\
    && mkdir -p ${BATADIR} ${DATADIR} ${DATALOG} ${DATACIG} ${DATAOPT}	\
    && chown ${RS_USER}.${RS_USER} ${DATADIR} 	\
    && apk add --no-cache --virtual .build-deps ${buildADD} 	\
    && curl -Lks4  ${RS_VSON_URL}|tar xz -C ${BATADIR} --strip-components=1 	\
    && cd ${BATADIR} \
    && make \
    && make install 	\
    && curl -Lk https://raw.githubusercontent.com/LinuxEA-Mark/docker-alpine-Redis/master/5.0/redis.conf -o /${DATACIG}/redis.conf 	\
    && curl -Lks https://raw.githubusercontent.com/LinuxEA-Mark/docker-alpine-Redis/master/5.0/Initialization-start.sh -o /Initialization.sh 	\
    && apk del .build-deps 	\
    && rm -rf /var/cache/apk/* ${BATADIR}     \
    && export MAXMEMORY_SIZE=`echo "expr $(($(awk '/MemTotal/{print $2}' /proc/meminfo)*88/102400))"|awk '{print $2}'` 	\
    && chmod +x /Initialization.sh
EXPOSE 26379/tcp 6379/tcp
ENTRYPOINT ["/Initialization.sh"]

from dfimage.

marksugar avatar marksugar commented on June 29, 2024

@LanikSJ thanks

from dfimage.

lock avatar lock commented on June 29, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from dfimage.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.