Closed tim-fiola closed 8 months ago
I'm running a Mac with Apple silicon. I'm trying to set up a Docker dev environment so I can run a demo locally.
When I run invoke migrate, I get this:
invoke migrate
timothyfiola@Timothys-MBP nautobot-plugin-version-control % invoke migrate Running docker-compose command "run --entrypoint 'nautobot-server migrate' nautobot" [+] Building 53.2s (8/14) => [internal] load build definition from Dockerfile-dolt 0.0s => => transferring dockerfile: 774B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 283B 0.0s => [internal] load metadata for docker.io/library/ubuntu:20.04 32.9s => [ 1/10] FROM docker.io/library/ubuntu:20.04@sha256:db8bf6f4fb351aa7a26e27ba2686cf35a6a409f65603e59d4c203e58387dc6b3 0.9s => => resolve docker.io/library/ubuntu:20.04@sha256:db8bf6f4fb351aa7a26e27ba2686cf35a6a409f65603e59d4c203e58387dc6b3 0.0s => => sha256:db8bf6f4fb351aa7a26e27ba2686cf35a6a409f65603e59d4c203e58387dc6b3 1.13kB / 1.13kB 0.0s => => sha256:144e6a778925a0c11c4cd9fe5fce1172e620f215b0410bb43e7fa41bbcfe4522 424B / 424B 0.0s => => sha256:758cd4ebb2178eb0cd2ce78dea8ffad569f5bba415c4b33b694e891e7697e854 2.32kB / 2.32kB 0.0s => => sha256:8659cf1709ef03be2c0b2dc339b19432bff8a0753d2d7d53f47272f098f56ef4 25.97MB / 25.97MB 0.5s => => extracting sha256:8659cf1709ef03be2c0b2dc339b19432bff8a0753d2d7d53f47272f098f56ef4 0.3s => [internal] load build context 0.0s => => transferring context: 471B 0.0s => [ 2/10] RUN apt update && apt install -y curl mariadb-client && apt-get autoremove -y && apt-get clean all && rm -rf /var/lib/apt/lists/* 18.0s => [ 3/10] RUN mkdir -p /var/lib/nautobot 0.3s => ERROR [ 4/10] RUN curl -L https://github.com/dolthub/dolt/releases/download/v0.35.5/install.sh | bash 1.0s ------ > [ 4/10] RUN curl -L https://github.com/dolthub/dolt/releases/download/v0.35.5/install.sh | bash: #0 0.334 % Total % Received % Xferd Average Speed Time Time Time Current #0 0.334 Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3058 100 3058 0 0 5165 0 --:--:-- --:--:-- --:--:-- 5165 #0 0.938 *** INSTALLATION FAILED *** #0 0.938 #0 0.938 dolt install.sh only supports installing dolt on x86_64 or x86 or Darwin-arm64. #0 0.938 ------ failed to solve: executor failed running [/bin/sh -c curl -L https://github.com/dolthub/dolt/releases/download/${DOLT_RELEASE}/install.sh | bash]: exit code: 1 timothyfiola@Timothys-MBP nautobot-plugin-version-control %
I am currently running other local dev environments (Nautobot Firewall Models and OS Upgrades) and they work fine
This is fixed in the next-env branch
next-env
I'm running a Mac with Apple silicon. I'm trying to set up a Docker dev environment so I can run a demo locally.
When I run
invoke migrate
, I get this: