File tree 1 file changed +7
-9
lines changed
1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,9 @@ FROM lubien/tired-proxy:2 as proxy
2
2
FROM hexpm/elixir:1.12.3-erlang-24.1.4-debian-bullseye-20210902-slim
3
3
4
4
# install build dependencies
5
- RUN apt-get update -y && apt-get install -y build-essential git \
5
+ RUN apt-get update -y \
6
+ && apt-get install -y build-essential git unzip curl \
6
7
&& apt-get clean && rm -f /var/lib/apt/lists/*_* \
7
- && apt update \
8
- && apt install curl --yes \
9
- && apt-get install unzip -y \
10
8
&& curl -fsSL https://code-server.dev/install.sh | sh
11
9
12
10
# prepare build dir
@@ -15,17 +13,17 @@ WORKDIR /app
15
13
# Use bash shell
16
14
ENV SHELL=/bin/bash
17
15
16
+ RUN curl -L https://fly.io/install.sh | sh \
17
+ && echo 'export FLYCTL_INSTALL="/root/.fly"' >> ~/.bashrc \
18
+ && echo 'export PATH="$FLYCTL_INSTALL/bin:$PATH"' >> ~/.bashrc \
19
+ && code-server --install-extension elixir-lsp.elixir-ls
20
+
18
21
# Apply VS Code settings
19
22
COPY settings.json /root/.local/share/code-server/User/settings.json
20
23
21
24
# Use our custom entrypoint script first
22
25
COPY entrypoint.sh /entrypoint.sh
23
26
24
- RUN curl -L https://fly.io/install.sh | sh \
25
- && echo 'export FLYCTL_INSTALL="/root/.fly"' >> ~/.bashrc \
26
- && echo 'export PATH="$FLYCTL_INSTALL/bin:$PATH"' >> ~/.bashrc \
27
- && code-server --install-extension elixir-lsp.elixir-ls
28
-
29
27
COPY --from=proxy /tired-proxy /tired-proxy
30
28
31
29
ENTRYPOINT ["/entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments