Skip to content

Commit 036464b

Browse files
authored
Update Dockerfile
fix vscode dockerfile
1 parent b86a28d commit 036464b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

feelpp-vscode/Dockerfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.145.1/containers/ubuntu/.devcontainer/base.Dockerfile
44

5-
# [Choice] Ubuntu version: bionic, focal
6-
ARG VARIANT="focal"
5+
# [Choice] Ubuntu version: bionic,
6+
7+
ARG VARIANT="jammy"
78
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}
89

910
USER root
@@ -19,15 +20,15 @@ RUN apt-get update \
1920
rm -rf /var/lib/apt/lists/*
2021

2122
ENV DEBIAN_FRONTEND=noninteractive
22-
RUN echo "deb http://archive.ubuntu.com/ubuntu focal-proposed main restricted" | tee -a /etc/apt/sources.list; \
23-
echo "deb http://archive.ubuntu.com/ubuntu focal-proposed universe" | tee -a /etc/apt/sources.list; \
24-
echo "deb http://archive.ubuntu.com/ubuntu focal-proposed multiverse" | tee -a /etc/apt/sources.list; \
23+
RUN echo "deb http://archive.ubuntu.com/ubuntu jammy-proposed main restricted" | tee -a /etc/apt/sources.list; \
24+
echo "deb http://archive.ubuntu.com/ubuntu jammy-proposed universe" | tee -a /etc/apt/sources.list; \
25+
echo "deb http://archive.ubuntu.com/ubuntu jammy-proposed multiverse" | tee -a /etc/apt/sources.list; \
2526
apt-get -qq update; \
2627
apt-get -y install tzdata dos2unix
2728

2829
RUN wget -qO - http://apt.feelpp.org/apt.gpg | gpg --dearmor > feelpp.gpg; \
2930
install -o root -g root -m 644 feelpp.gpg /etc/apt/trusted.gpg.d; \
30-
echo "deb [signed-by=/etc/apt/trusted.gpg.d/feelpp.gpg] http://apt.feelpp.org/ubuntu focal ${CHANNEL}" | tee -a /etc/apt/sources.list.d/feelpp.list; \
31+
echo "deb [signed-by=/etc/apt/trusted.gpg.d/feelpp.gpg] http://apt.feelpp.org/ubuntu/jammy jammy ${CHANNEL}" | tee -a /etc/apt/sources.list.d/feelpp.list; \
3132
rm -f feelpp.gpg; \
3233
apt-get update ;\
3334
apt-get install -y --no-install-recommends g++ clang-9 man-db libboost-regex1.71.0-icu66 feelpp-quickstart feelpp-data feelpp-tools python3-feelpp libfeelpp-dev make rsync; \

0 commit comments

Comments
 (0)