79277112

Date: 2024-12-13 02:57:01
Score: 0.5
Natty:
Report link

For a pure alpine container, adding this to the dockerfile works:

FROM alpine:latest

# Make Alpine nice
RUN echo 'alias ll="ls -la"' >> /root/.profile
ENV ENV=/root/.profile

So for the OP, the /root/.profile file already exists and only the last line is necessary.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: laifukang