Skip to content

Commit

Permalink
feat: initialize the remote access plugin in the container image
Browse files Browse the repository at this point in the history
Signed-off-by: Reuben Miller <[email protected]>
  • Loading branch information
reubenmiller committed Sep 10, 2024
1 parent e4ff79b commit 03dd13d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion containers/tedge/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ COPY --from=build build/* /usr/bin/
# setup thin-edge.io
RUN addgroup -g "$USER_GID" -S "$USERNAME" \
&& adduser -u "$USER_UID" -g '' -H -D "$USERNAME" -G "$USERNAME" \
&& /usr/bin/tedge init
&& /usr/bin/tedge init \
&& /usr/bin/c8y-remote-access-plugin --init

# Add custom config
COPY system.toml /etc/tedge/
Expand Down

0 comments on commit 03dd13d

Please sign in to comment.