Skip to content

Commit

Permalink
test: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbreuninger committed Jan 14, 2025
1 parent 0eb20ed commit 60c5a57
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .devcontainer/post_create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,29 @@ log() {
echo "[POST_CREATE] $*"
}

log "Starting"
pwd

log "ls here"
ls -la

log "ls desktop"
ls -la desktop

log "ls desktop/src-tauri"
ls -la desktop/src-tauri

# Start docker daemon. The script should've been put here by the DinD devcontainer feature
log "Starting Docker Daemon"
sudo /usr/local/share/docker-init.sh

REBUILD_SCRIPT="./hack/rebuild.sh"

if [[ ! -f "$REBUILD_SCRIPT" ]]; then
log "Error: Rebuild script not found at $REBUILD_SCRIPT" >&2
exit 1
fi

# Start docker daemon. The script should've been put here by the DinD devcontainer feature
log "Starting Docker Daemon"
sudo /usr/local/share/docker-init.sh

log "Building initial version of devpod binary"
chmod +x "$REBUILD_SCRIPT"
BUILD_PLATFORMS="linux" "$REBUILD_SCRIPT"
Expand Down

0 comments on commit 60c5a57

Please sign in to comment.