aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-11-28 14:38:41 +0800
committerJesús <heckyel@hyperbola.info>2022-11-28 14:38:41 +0800
commit6a2ec46e6218c760a92c624cf2d36bef83d592db (patch)
tree5d7f4910434a66ce3d22beabd9b5ef3abfb18129
parentf2c7462205259b509b17a29f1f8c18bf0b33f6ec (diff)
downloadmicrolab-6a2ec46e6218c760a92c624cf2d36bef83d592db.tar.lz
microlab-6a2ec46e6218c760a92c624cf2d36bef83d592db.tar.xz
microlab-6a2ec46e6218c760a92c624cf2d36bef83d592db.zip
remove wget
-rw-r--r--core/Dockerfile8
1 files changed, 3 insertions, 5 deletions
diff --git a/core/Dockerfile b/core/Dockerfile
index 4690799..88d029f 100644
--- a/core/Dockerfile
+++ b/core/Dockerfile
@@ -13,11 +13,10 @@ net-tools \
bash-completion \
git \
nano \
-wget && \
pacman -Scc --noconfirm
-RUN wget --quiet https://github.com/tmate-io/tmate/releases/download/${pkgver}/${pkgname}-${pkgver}-static-linux-amd64.tar.xz -O /tmp/${pkgname}-${pkgver}.tar.xz && \
-wget --quiet https://git.sr.ht/~heckyel/hyperterm/blob/master/install.sh -O "$HOME/install.sh"
+RUN curl -s https://github.com/tmate-io/tmate/releases/download/${pkgver}/${pkgname}-${pkgver}-static-linux-amd64.tar.xz -o /tmp/${pkgname}-${pkgver}.tar.xz && \
+curl -s https://git.sr.ht/~heckyel/hyperterm/blob/master/install.sh -o "$HOME/install.sh"
WORKDIR /tmp/
@@ -26,8 +25,7 @@ mv ${pkgname}-${pkgver}-static-linux-amd64/${pkgname} /usr/bin && \
bash "$HOME/install.sh" -s && \
rm -rf "$HOME/install.sh" && \
rm -rf /tmp/* && \
-rm -rf "$HOME/.bash_history" && \
-rm -rf "$HOME/.wget-hsts"
+rm -rf "$HOME/.bash_history"
WORKDIR /home/