hauler-dev/hauler

[BUG] Hauler install script fails if sudo doesn't exist

Closed this issue · 1 comments

Environmental Info:

Docker

Hauler Version:

all

Describe the Bug:

Install script assumes sudo is installed and fails if it is not, even when running in the root context.

Steps to Reproduce:

Use this Dockerfile:

FROM ubuntu
RUN curl -sfL https://get.hauler.dev | bash

docker build -t test .

Watch failure:

: RUN curl -sfL https://get.hauler.dev | bash
 ---> Running in c0b899c5851c

[ERROR] Hauler: sudo is not installed
Removing intermediate container c0b899c5851c

Expected Behavior:

Installs correctly without error.

Actual Behavior:

Fails to install.

duplicate issue to Issue #253