File tree 4 files changed +16
-0
lines changed
4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -314,6 +314,9 @@ ENV PIP_CERT=/etc/ssl/certs/ca-bundle.crt
314
314
315
315
WORKDIR /tmp
316
316
317
+ # Add common shell aliases
318
+ COPY shell-aliases.sh /etc/profile.d/
319
+
317
320
# Centos image default yum configs prevent docs installation
318
321
# https://superuser.com/questions/784451/centos-on-docker-how-to-install-doc-files
319
322
RUN sed -i '/nodocs/d' /etc/yum.conf
Original file line number Diff line number Diff line change @@ -315,6 +315,9 @@ ARG ADMIN_EMAIL
315
315
316
316
WORKDIR /tmp
317
317
318
+ # Add common shell aliases
319
+ COPY shell-aliases.sh /etc/profile.d/
320
+
318
321
# TODO: is this also a problem with rocky8+?
319
322
# Centos image default yum configs prevent docs installation
320
323
# https://superuser.com/questions/784451/centos-on-docker-how-to-install-doc-files
Original file line number Diff line number Diff line change @@ -315,6 +315,9 @@ ARG ENABLE_OPENID
315
315
316
316
WORKDIR /tmp
317
317
318
+ # Add common shell aliases
319
+ COPY shell-aliases.sh /etc/profile.d/
320
+
318
321
# TODO: is this also a problem with rocky8+?
319
322
# Centos image default yum configs prevent docs installation
320
323
# https://superuser.com/questions/784451/centos-on-docker-how-to-install-doc-files
Original file line number Diff line number Diff line change
1
+ # Common shell aliases for interactive migrid container admin, etc.
2
+ alias cp=' cp -i'
3
+ alias mv=' mv -i'
4
+ alias rm=' rm -i'
5
+
6
+ alias ll=' ls -alF'
7
+ alias la=' ls -A'
You can’t perform that action at this time.
0 commit comments