Dockerfile27 lines · 701 chars # VERSION: 0.2
# DESCRIPTION: Image to build Atom from source (simulated) for test environment
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
# Install essential build tools
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
git \
curl \
ca-certificates && \
rm -rf /var/lib/apt/lists/*
# Build workspace and copy source (simulated build)
WORKDIR /workspace
COPY . /workspace
# Simulate a build step by creating a build artifact
RUN mkdir -p /workspace/build && /bin/sh -c 'echo simulated-atom-build > /workspace/build/atom-built.txt'
# Provide an interactive shell by default
ENTRYPOINT ["/bin/bash"]