Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Commit 21441b1

Browse files
author
pascal
committed
Ensure mkcert ownership
1 parent c012cd0 commit 21441b1

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

docker-images/base/Dockerfile

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ RUN \
44
export DEBIAN_FRONTEND=noninteractive && \
55
apt-get update && \
66
apt-get install -y -o Dpkg::Options::="--force-confnew" \
7-
p7zip-full \
8-
build-essential \
9-
wget \
10-
ocaml-native-compilers && \
7+
p7zip-full \
8+
build-essential \
9+
wget \
10+
ocaml-native-compilers && \
1111
cd /tmp/ && \
1212
wget https://github.com/bcpierce00/unison/archive/v2.51.2.tar.gz && \
1313
tar -xzvf v2.51.2.tar.gz && \
@@ -22,20 +22,20 @@ RUN \
2222
apt-get update && \
2323
apt-get dist-upgrade -y -o Dpkg::Options::="--force-confnew" && \
2424
apt-get install -y -o Dpkg::Options::="--force-confnew" \
25-
apt-transport-https \
26-
apt-utils \
27-
aptitude \
28-
bash \
29-
curl \
30-
dirmngr \
31-
git \
32-
gnupg \
33-
rsync \
34-
openssh-server \
35-
sudo \
36-
unzip \
37-
vim \
38-
wget && \
25+
apt-transport-https \
26+
apt-utils \
27+
aptitude \
28+
bash \
29+
curl \
30+
dirmngr \
31+
git \
32+
gnupg \
33+
rsync \
34+
openssh-server \
35+
sudo \
36+
unzip \
37+
vim \
38+
wget && \
3939
echo 'UseDNS no' >> /etc/ssh/sshd_config && \
4040
mkdir -p /var/run/sshd && \
4141
rm /usr/sbin/policy-rc.d && \
@@ -59,8 +59,8 @@ RUN \
5959

6060
RUN \
6161
rm -f \
62-
/etc/machine-id \
63-
/var/lib/dbus/machine-id
62+
/etc/machine-id \
63+
/var/lib/dbus/machine-id
6464
RUN \
6565
set -x && \
6666
export DEBIAN_FRONTEND=noninteractive && \
@@ -93,9 +93,9 @@ RUN \
9393
wget && \
9494
apt-get clean && \
9595
rm -rf \
96-
/var/lib/apt/lists/* \
97-
/var/log/* \
98-
/tmp/*
96+
/var/lib/apt/lists/* \
97+
/var/log/* \
98+
/tmp/*
9999

100100
COPY --from=unison /tmp/unison-2.51.2/src/unison /usr/local/bin/
101101
COPY --from=unison /tmp/unison-2.51.2/src/unison-fsmonitor /usr/local/bin/
@@ -106,7 +106,7 @@ COPY ./unison-startup.sh /opt/
106106

107107
RUN \
108108
wget https://github.com/FiloSottile/mkcert/releases/download/v1.4.1/mkcert-v1.4.1-linux-amd64 -O /usr/local/bin/mkcert && \
109-
mkdir -p /home/ce-dev/deploy/live.local /home/ce-dev/.composer/cache /home/ce-dev/.nvm/versions/node && \
109+
mkdir -p /home/ce-dev/deploy/live.local /home/ce-dev/.composer/cache /home/ce-dev/.nvm/versions/node /home/ce-dev/.local/share/mkcert && \
110110
chown -R ce-dev:ce-dev /home/ce-dev && \
111111
chmod +x /usr/local/bin/*
112112

0 commit comments

Comments
 (0)