I tried both ways, with and without the ./. Neither worked.
As demonstrated below it works without the “./”:
$ docker build -t dockerfilecan .
Sending build context to Docker daemon 7.68kB
Step 1/4 : ARG IMAGE_ARCH=arm64v8
Step 2/4 : FROM torizon/$IMAGE_ARCH-debian-shell:2
Step 3/4 : WORKDIR /home/torizon
---> Using cache
Step 4/4 : RUN apt-get -y update && apt-get install -y nano python3 python3-pip python3-setuptools git iproute2 can-utils python3-can && apt-get clean && apt-get autoremove && rm -rf /var/lib/apt/lists/*
---> Using cache
Successfully built 526309641c0a
Successfully tagged dockerfilecan:latest
If I have the “./” then I get the same error you got previously:
$ docker build -t ./dockerfilecan .
invalid argument "./dockerfilecan" for "-t, --tag" flag: invalid reference format
See 'docker build --help'.
but you have to be in the directory where the dockerfile is. You can’t attach a path to it.
If you’re running the
docker build command from a different directory then where the Dockerfile actually is you can specify a path with the
--file flag as documented here: docker build | Docker Docs
It could be I executed it using the terminal connection instead of a direct ssh connection.
Everything I demonstrated above works with both a serial connection and over SSH, this shouldn’t matter.
And the 6.1 will no longer allow the tunnel connection
What do you mean by this? I’m able to access my board via SSH with no issues and I’m running 6.1.
5.7 version doesn’t boot all the way.
There is a known issue where the graphical containers are not working properly for 5.7.2, but this only results in no graphical output. If you connect via serial or SSH then you can see the system boots and you can login. Is this the issue you are referring to or something else?
What is the best way to tell the torizon version once it is installed?
There are multiple ways you can look at the contents of
$ cat /etc/issue
TorizonCore 6.1.0+build.1 \n \l
Or the contents of
$ cat /etc/os-release
PRETTY_NAME="TorizonCore 6.1.0+build.1 (kirkstone)"
uname -a as you did in your original message in this thread:
$ uname -a
Linux verdin-imx8mp-06849059 5.15.77-6.1.0+git.349786b46e61 #1-TorizonCore SMP PREEMPT Wed Dec 28 09:58:45 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux