Skip to content

Commit 3d97bab

Browse files
committed
Remove unecessary sudo in Dockerfile
1 parent 5262bab commit 3d97bab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN su - ubuntu -c "npm config set registry http://registry.npm.taobao.org"
2424

2525
# Provisioning gitlab CA
2626
ADD gitlab-CA.crt /usr/local/share/ca-certificates/
27-
RUN sudo update-ca-certificates
27+
RUN update-ca-certificates
2828

2929
# Install docker-cli
3030
# See https://github.com/docker-library/docker/blob/bb15fc25bbd4f51a880cf02f91eab447b1083b75/1.8/Dockerfile

0 commit comments

Comments
 (0)