Closed gtep96 closed 11 months ago
hi @gtep96,
A few points regarding the Dockerfile:
- [ ] please remove
WORKDIR
command duplications.- [ ] please try to group commands by logic, meaning try to do only one
apt update
+apt install
, onepip install
,- [ ] because we use custom docker image, I think the user
ros
already defined, so no need to define it again in this dockerfile - I think I did it few month ago, but it worth fix now.- [ ] no need
cyclonedds
you can remove it (but check that it works)Thanks.
Hi @iftahnaf,
I've updated this branch with these fixes. Although, i didn't find 'ros' user definition in the dockefiles, only 'dev' user. Dont you think it's necessary?
hi @gtep96, A few points regarding the Dockerfile:
- [ ] please remove
WORKDIR
command duplications.- [ ] please try to group commands by logic, meaning try to do only one
apt update
+apt install
, onepip install
,- [ ] because we use custom docker image, I think the user
ros
already defined, so no need to define it again in this dockerfile - I think I did it few month ago, but it worth fix now.- [ ] no need
cyclonedds
you can remove it (but check that it works)Thanks.
Hi @iftahnaf,
I've updated this branch with these fixes. Although, i didn't find 'ros' user definition in the dockefiles, only 'dev' user. Dont you think it's necessary?
Hi @gtep96,
I think we shouldn't create the dev
user, because, in the base image, there is already ros
user, so we just need to replace everything related with dev
user to ros
, and remove the dev
user creation.
Done, tested, pushed
hi @gtep96, A few points regarding the Dockerfile:
- [ ] please remove
WORKDIR
command duplications.- [ ] please try to group commands by logic, meaning try to do only one
apt update
+apt install
, onepip install
,- [ ] because we use custom docker image, I think the user
ros
already defined, so no need to define it again in this dockerfile - I think I did it few month ago, but it worth fix now.- [ ] no need
cyclonedds
you can remove it (but check that it works)Thanks.
Hi @iftahnaf, I've updated this branch with these fixes. Although, i didn't find 'ros' user definition in the dockefiles, only 'dev' user. Dont you think it's necessary?
Hi @gtep96,
I think we shouldn't create the
dev
user, because, in the base image, there is alreadyros
user, so we just need to replace everything related withdev
user toros
, and remove thedev
user creation.
Project ready and running in CITROS