Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

dockerfile example

ENV REDIS_VERSION 3.0.5
ENV REDIS_DOWNLOAD_URL http://download.redis.io/releases/redis-3.0.5.tar.gz
ENV REDIS_DOWNLOAD_SHA1 ad3ee178c42bfcfd310c72bbddffbbe35db9b4a6

# for redis-sentinel see: http://redis.io/topics/sentinel
RUN buildDeps='gcc libc6-dev make' 
    && set -x 
    && apt-get update && apt-get install -y $buildDeps --no-install-recommends 
    && rm -rf /var/lib/apt/lists/* 
    && mkdir -p /usr/src/redis 
    && curl -sSL "$REDIS_DOWNLOAD_URL" -o redis.tar.gz 
    && echo "$REDIS_DOWNLOAD_SHA1 *redis.tar.gz" | sha1sum -c - 
    && tar -xzf redis.tar.gz -C /usr/src/redis --strip-components=1 
    && rm redis.tar.gz 
    && make -C /usr/src/redis 
    && make -C /usr/src/redis install 
    && rm -r /usr/src/redis 
    && apt-get purge -y --auto-remove $buildDeps
Comment

PREVIOUS NEXT
Code Example
Python :: problem solving with python 
Python :: np.divide 
Python :: hash table python 
Python :: python code to add element in list 
Python :: read yml file in python 
Python :: python generators with for 
Python :: python add 
Python :: try and exception 
Python :: python dict 
Python :: python string equals 
Python :: print column name and index dataframe python 
Python :: min and max in python 
Python :: python program to find sum of array elements 
Python :: deactivate pandas warning copy 
Python :: python all available paths 
Python :: expected a list of items but got type int . django 
Python :: Delete all small Latin letters a from the given string. 
Python :: python. printing varibles 
Python :: how to make a window in python ursina 
Python :: how to print on same line python 
Python :: d2h recharge plan list 2022 telugu 
Python :: #adding for loop with tuple and having space 
Python :: python code to encrypt and decrypt a stringn with password 
Python :: python download from digital ocean spaces boto3 
Python :: reload python repl 
Python :: how to import alpha vantage using api key 
Python :: add label on choropleth map python 
Python :: center fig legend 
Python :: shorthand python if 
Python :: django create view filter options 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =