Dockerfile FROM 用于 rhel 图像

eal*_*eon 0 rhel docker dockerfile

我想创建一个 Dockefile 如下

FROM <rhel6/7>

# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
RUN addgroup redis && useradd -g redis -ms /bin/bash redi

RUN mkdir /data && chown redis:redis /data
VOLUME /data
WORKDIR /data

# Copy the current directory contents into the container at /app
ADD . /data

# Run app.py when the container launches
CMD ["/usr/software/rats/bedrock/bin/python2.7", "/data/test_redis.py"]
Run Code Online (Sandbox Code Playgroud)

我用什么代替FROM <rhel6/7>