Skip to content

Commit

Permalink
Add sdl, gtest, and cppcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Aemiii91 committed Feb 28, 2024
1 parent ad3d080 commit 44ad6ad
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
FROM debian:buster-slim
ENV DEBIAN_FRONTEND noninteractive

# Timezone
ENV TZ=America/New_York
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN apt-get -y update && apt-get -y install \
# Packages
RUN apt-get -y update
RUN apt-get -y install \
bc \
build-essential \
bzip2 \
Expand All @@ -23,18 +26,28 @@ RUN apt-get -y update && apt-get -y install \
unzip \
wget \
zip \
locales\
&& rm -rf /var/lib/apt/lists/*
locales \
libsdl1.2-dev \
libsdl-image1.2-dev \
libsdl-ttf2.0-dev \
libsdl-gfx1.2-dev \
libgtest-dev \
cppcheck

RUN rm -rf /var/lib/apt/lists/*

# Locale
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen
locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

# Workspace
RUN mkdir -p /root/workspace
WORKDIR /root

# Setup
COPY support .
RUN ./setup-toolchain.sh
RUN cat setup-env.sh >> .bashrc
Expand Down

0 comments on commit 44ad6ad

Please sign in to comment.