tilt-dev / tilt-dev/tilt

Tilt Install started failing for Docker

Open
#6,089 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs repro case
Dominant language
Go
Stars
10.1k
Forks
413
Avg merge
1d 10h
Merged PRs (30d)
6

Description

Expected Behavior

Docker build completes successfully.

Current Behavior

Docker build is failing with tilt with the following error:

[5/5] RUN curl -fsSL https://raw.githubusercontent.com/tilt-dev/tilt/master/scripts/install.sh | bash     && tilt version:
#9 1.[57](https://github.com/joinadcentral/docker-images/actions/runs/4617282942/jobs/8169642776#step:5:58)2 + sudo mv tilt /usr/local/bin/tilt
#9 1.574 + set +x
#9 1.574 Tilt installed!
#9 1.574 
#9 1.575 Note: it looks like it is not the first program named 'tilt' in your path. `tilt version` (running from /usr/local/bin/tilt) did not return a tilt.dev version string.
#9 1.575 It output this instead:
#9 1.575 
#9 1.575 main: line 94: /usr/local/bin/tilt: cannot execute: required file not found
#9 1.575 
#9 1.575 Perhaps you have a different program named tilt in your $PATH?
Steps to Reproduce

Here is the full docker file:

FROM debian:bullseye-slim as docker

ENV LANG C.UTF-8

# Basic Stuff
RUN apt-get update \
    && apt-get install -y --no-install-recommends \
        git curl sudo ca-certificates \
    && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false

# Docker
RUN apt-get install -y --no-install-recommends \
        ca-certificates curl gnupg lsb-release software-properties-common \
    && mkdir -p /etc/apt/keyrings || true \
    && curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg \
    && curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add - \
    && apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" \
    && echo \
       "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
       $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null \
    && apt-get update \
    && apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-compose -y --no-install-recommends \
    && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false

COPY --from=docker/buildx-bin:latest /buildx /usr/libexec/docker/cli-plugins/docker-buildx
RUN docker buildx version





# ------------------------------------------------------------------------------------------------------
FROM docker as tilt

# Tilt
RUN curl -fsSL https://raw.githubusercontent.com/tilt-dev/tilt/master/scripts/install.sh | bash \
    && tilt version

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with the provided Debian Bullseye Dockerfile, especially the install.sh pipeline and subsequent tilt version command. Confirm the cause of the missing executable and verify that the Docker build completes and tilt version returns a Tilt version string.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
build-system, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.