Skip to content

Commit

Permalink
switch devcontainer image to ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
dkhalife committed Dec 25, 2024
1 parent 31f6f44 commit a5bf806
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
26 changes: 19 additions & 7 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
FROM mcr.microsoft.com/vscode/devcontainers/base:alpine
FROM mcr.microsoft.com/vscode/devcontainers/base:ubuntu

RUN apk add --no-cache \
clang \
clang-extra-tools \
RUN apt-get update \
&& apt-get install -y --no-install-suggests --no-install-recommends \
lsb-release wget software-properties-common gnupg \
&& wget https://apt.llvm.org/llvm.sh \
&& chmod +x llvm.sh \
&& ./llvm.sh 18 \
;

RUN add-apt-repository -y ppa:mosquitto-dev/mosquitto-ppa \
&& apt-get update \
&& apt install -y --no-install-suggests --no-install-recommends \
libmosquitto-dev \
mosquitto-dev \
;

RUN apt-get update && apt-get install -y --no-install-suggests --no-install-recommends \
git \
mariadb-dev \
mosquitto-dev \
sqlite-dev \
libmariadb-dev \
libsqlite-dev \
;
4 changes: 2 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CC = /usr/bin/clang
CXX = /usr/bin/clang++
CC = /usr/bin/clang-18
CXX = /usr/bin/clang++-18

CXXFLAGS = -fPIC --std=c++23

Expand Down

0 comments on commit a5bf806

Please sign in to comment.