-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.ci
25 lines (20 loc) · 851 Bytes
/
Dockerfile.ci
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Docker CI/CD image for Deno (deno.land)
FROM debian:buster
# Make APT non-interactive
RUN echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/99semaphore
RUN echo 'DPkg::Options "--force-confnew";' >> /etc/apt/apt.conf.d/99semaphore
ENV DEBIAN_FRONTEND=noninteractive
# Install Semaphore+Deno requirements
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates sudo locales netbase netcat \
procps lftp curl unzip git openssh-client \
&& rm -rf /var/cache/apt/archives
# Setup locales/timezones
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime
RUN locale-gen C.UTF-8 || true
ENV LANG=C.UTF-8
# Install Deno
RUN curl -fsSL https://deno.land/x/install/install.sh | sh -s v1.1.1
RUN cp /root/.deno/bin/deno /usr/local/bin && rm -rf /root/.deno
CMD ["/bin/sh"]