From 2e7ea7cefe81fc7805c44c1b0ff0f2d791487737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Mon, 28 Nov 2022 14:07:52 +0800 Subject: Set bash like default environment --- core/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/Dockerfile b/core/Dockerfile index d0e9aa6..4690799 100644 --- a/core/Dockerfile +++ b/core/Dockerfile @@ -4,7 +4,9 @@ LABEL MAINTAINER="heckyel@hyperbola.info" ARG pkgname=tmate ARG pkgver=2.4.0 -RUN pacman -Syu --noconfirm && \ +RUN mv -T /etc/pacman.d/mirrorlist.pacnew /etc/pacman.d/mirrorlist || true && \ +sed -i 's|root:x:0:0:root:/root:/bin/sh|root:x:0:0:root:/root:/bin/bash|g' /etc/passwd && \ +pacman -Syu --noconfirm && \ pacman -S --noconfirm \ procps-ng \ net-tools \ -- cgit v1.2.3