Skip to content

Commit

Permalink
refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxmaniac committed Feb 2, 2024
1 parent ee5704a commit c79a531
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 64 deletions.
7 changes: 3 additions & 4 deletions bionic/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
FROM ubuntu:bionic

MAINTAINER Victor Seva <[email protected]>
LABEL org.opencontainers.image.authors Victor Seva <[email protected]>

# Important! Update this no-op ENV variable when this Dockerfile
# is updated with the current date. It will force refresh of all
# of the base images and things like 'apt-get update' won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2024-01-16
ENV REFRESHED_AT 2024-02-02

RUN rm -rf /var/lib/apt/lists/* && apt-get update
RUN echo 'MIRRORSITE="http://deb.debian.org/debian"' > /etc/pbuilderrc
RUN echo MIRRORSITE=http://archive.ubuntu.com/ubuntu > /etc/pbuilderrc
RUN apt-get install -qq --assume-yes clang pbuilder

VOLUME /code
Expand Down
10 changes: 3 additions & 7 deletions bookworm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
FROM debian:bookworm

MAINTAINER Victor Seva <[email protected]>
LABEL org.opencontainers.image.authors Victor Seva <[email protected]>

# Important! Update this no-op ENV variable when this Dockerfile
# is updated with the current date. It will force refresh of all
# of the base images and things like 'apt-get update' won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2024-01-16

# avoid httpredir errors
RUN find /etc/apt -name '*.list' -exec sed -i 's/httpredir/deb/g' {} \;
ENV REFRESHED_AT 2024-02-02

RUN rm -rf /var/lib/apt/lists/* && apt-get update
RUN echo 'MIRRORSITE="http://deb.debian.org/debian"' > /etc/pbuilderrc
RUN echo MIRRORSITE=http://archive.debian.org/debian > /etc/pbuilderrc
RUN apt-get install -qq --assume-yes clang pbuilder

VOLUME /code
Expand Down
10 changes: 3 additions & 7 deletions bullseye/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
FROM debian:bullseye

MAINTAINER Victor Seva <[email protected]>
LABEL org.opencontainers.image.authors Victor Seva <[email protected]>

# Important! Update this no-op ENV variable when this Dockerfile
# is updated with the current date. It will force refresh of all
# of the base images and things like 'apt-get update' won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2024-01-16

# avoid httpredir errors
RUN find /etc/apt -name '*.list' -exec sed -i 's/httpredir/deb/g' {} \;
ENV REFRESHED_AT 2024-02-02

RUN rm -rf /var/lib/apt/lists/* && apt-get update
RUN echo 'MIRRORSITE="http://deb.debian.org/debian"' > /etc/pbuilderrc
RUN echo MIRRORSITE=http://archive.debian.org/debian > /etc/pbuilderrc
RUN apt-get install -qq --assume-yes clang-11 pbuilder

VOLUME /code
Expand Down
10 changes: 3 additions & 7 deletions buster/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
FROM debian:buster

MAINTAINER Victor Seva <[email protected]>
LABEL org.opencontainers.image.authors Victor Seva <[email protected]>

# Important! Update this no-op ENV variable when this Dockerfile
# is updated with the current date. It will force refresh of all
# of the base images and things like 'apt-get update' won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2024-01-16

# avoid httpredir errors
RUN find /etc/apt -name '*.list' -exec sed -i 's/httpredir/deb/g' {} \;
ENV REFRESHED_AT 2024-02-02

RUN rm -rf /var/lib/apt/lists/* && apt-get update
RUN echo 'MIRRORSITE="http://deb.debian.org/debian"' > /etc/pbuilderrc
RUN echo MIRRORSITE=http://archive.debian.org/debian > /etc/pbuilderrc
RUN apt-get install -qq --assume-yes clang-7 pbuilder

VOLUME /code
Expand Down
7 changes: 3 additions & 4 deletions focal/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
FROM ubuntu:focal

MAINTAINER Victor Seva <[email protected]>
LABEL org.opencontainers.image.authors Victor Seva <[email protected]>

# Important! Update this no-op ENV variable when this Dockerfile
# is updated with the current date. It will force refresh of all
# of the base images and things like 'apt-get update' won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2024-01-16
ENV REFRESHED_AT 2024-02-02

RUN rm -rf /var/lib/apt/lists/* && apt-get update
RUN echo 'MIRRORSITE="http://deb.debian.org/debian"' > /etc/pbuilderrc
RUN echo MIRRORSITE=http://archive.ubuntu.com/ubuntu > /etc/pbuilderrc
RUN apt-get install -qq --assume-yes clang pbuilder

VOLUME /code
Expand Down
7 changes: 3 additions & 4 deletions jammy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
FROM ubuntu:jammy

MAINTAINER Victor Seva <[email protected]>
LABEL org.opencontainers.image.authors Victor Seva <[email protected]>

# Important! Update this no-op ENV variable when this Dockerfile
# is updated with the current date. It will force refresh of all
# of the base images and things like 'apt-get update' won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2024-01-16
ENV REFRESHED_AT 2024-02-02

RUN rm -rf /var/lib/apt/lists/* && apt-get update
RUN echo 'MIRRORSITE="http://deb.debian.org/debian"' > /etc/pbuilderrc
RUN echo MIRRORSITE=http://archive.ubuntu.com/ubuntu > /etc/pbuilderrc
RUN apt-get install -qq --assume-yes clang pbuilder

VOLUME /code
Expand Down
9 changes: 5 additions & 4 deletions jessie/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
FROM debian/eol:jessie

MAINTAINER Victor Seva <[email protected]>
LABEL org.opencontainers.image.authors Victor Seva <[email protected]>

# Important! Update this no-op ENV variable when this Dockerfile
# is updated with the current date. It will force refresh of all
# of the base images and things like 'apt-get update' won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2024-01-16
ENV REFRESHED_AT 2024-02-02

# fix repositories
RUN sed -i -e 's/deb.debian.org/archive.debian.org/g' -e '/jessie-updates/d' /etc/apt/sources.list
RUN rm -rf /var/lib/apt/lists/* && apt-get update
RUN echo 'MIRRORSITE="http://deb.debian.org/debian"' > /etc/pbuilderrc
RUN echo MIRRORSITE=http://archive.debian.org/debian > /etc/pbuilderrc
RUN apt-get install -qq --assume-yes clang-3.5 pbuilder

VOLUME /code
Expand Down
7 changes: 3 additions & 4 deletions precise/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
FROM ubuntu:precise

MAINTAINER Victor Seva <[email protected]>
LABEL org.opencontainers.image.authors Victor Seva <[email protected]>

# Important! Update this no-op ENV variable when this Dockerfile
# is updated with the current date. It will force refresh of all
# of the base images and things like 'apt-get update' won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2024-01-16
ENV REFRESHED_AT 2024-02-02

RUN rm -rf /var/lib/apt/lists/* && apt-get update
RUN echo 'MIRRORSITE="http://deb.debian.org/debian"' > /etc/pbuilderrc
RUN echo MIRRORSITE=http://archive.ubuntu.com/ubuntu > /etc/pbuilderrc
RUN apt-get install -qq --assume-yes clang pbuilder

VOLUME /code
Expand Down
10 changes: 3 additions & 7 deletions sid/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
FROM debian:sid

MAINTAINER Victor Seva <[email protected]>
LABEL org.opencontainers.image.authors Victor Seva <[email protected]>

# Important! Update this no-op ENV variable when this Dockerfile
# is updated with the current date. It will force refresh of all
# of the base images and things like 'apt-get update' won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2024-01-16

# avoid httpredir errors
RUN find /etc/apt -name '*.list' -exec sed -i 's/httpredir/deb/g' {} \;
ENV REFRESHED_AT 2024-02-02

RUN rm -rf /var/lib/apt/lists/* && apt-get update
RUN echo 'MIRRORSITE="http://deb.debian.org/debian"' > /etc/pbuilderrc
RUN echo MIRRORSITE=http://archive.debian.org/debian > /etc/pbuilderrc
RUN apt-get install -qq --assume-yes clang pbuilder

VOLUME /code
Expand Down
9 changes: 5 additions & 4 deletions stretch/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
FROM debian/eol:stretch

MAINTAINER Victor Seva <[email protected]>
LABEL org.opencontainers.image.authors Victor Seva <[email protected]>

# Important! Update this no-op ENV variable when this Dockerfile
# is updated with the current date. It will force refresh of all
# of the base images and things like 'apt-get update' won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2024-01-16
ENV REFRESHED_AT 2024-02-02

# fix repositories
RUN sed -i -e 's/deb.debian.org/archive.debian.org/g' -e '/stretch-updates/d' /etc/apt/sources.list
RUN rm -rf /var/lib/apt/lists/* && apt-get update
RUN echo 'MIRRORSITE="http://deb.debian.org/debian"' > /etc/pbuilderrc
RUN echo MIRRORSITE=http://archive.debian.org/debian > /etc/pbuilderrc
RUN apt-get install -qq --assume-yes clang-3.8 pbuilder

VOLUME /code
Expand Down
7 changes: 3 additions & 4 deletions trusty/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
FROM ubuntu:trusty

MAINTAINER Victor Seva <[email protected]>
LABEL org.opencontainers.image.authors Victor Seva <[email protected]>

# Important! Update this no-op ENV variable when this Dockerfile
# is updated with the current date. It will force refresh of all
# of the base images and things like 'apt-get update' won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2024-01-16
ENV REFRESHED_AT 2024-02-02

RUN rm -rf /var/lib/apt/lists/* && apt-get update
RUN echo 'MIRRORSITE="http://deb.debian.org/debian"' > /etc/pbuilderrc
RUN echo MIRRORSITE=http://archive.ubuntu.com/ubuntu > /etc/pbuilderrc
RUN apt-get install -qq --assume-yes clang pbuilder

VOLUME /code
Expand Down
9 changes: 5 additions & 4 deletions wheezy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
FROM debian/eol:wheezy

MAINTAINER Victor Seva <[email protected]>
LABEL org.opencontainers.image.authors Victor Seva <[email protected]>

# Important! Update this no-op ENV variable when this Dockerfile
# is updated with the current date. It will force refresh of all
# of the base images and things like 'apt-get update' won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2024-01-16
ENV REFRESHED_AT 2024-02-02

# fix repositories
RUN sed -i -e 's/deb.debian.org/archive.debian.org/g' -e '/wheezy-updates/d' /etc/apt/sources.list
RUN rm -rf /var/lib/apt/lists/* && apt-get update
RUN echo 'MIRRORSITE="http://deb.debian.org/debian"' > /etc/pbuilderrc
RUN echo MIRRORSITE=http://archive.debian.org/debian > /etc/pbuilderrc
RUN apt-get install -qq --assume-yes pbuilder

VOLUME /code
Expand Down
7 changes: 3 additions & 4 deletions xenial/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
FROM ubuntu:xenial

MAINTAINER Victor Seva <[email protected]>
LABEL org.opencontainers.image.authors Victor Seva <[email protected]>

# Important! Update this no-op ENV variable when this Dockerfile
# is updated with the current date. It will force refresh of all
# of the base images and things like 'apt-get update' won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2024-01-16
ENV REFRESHED_AT 2024-02-02

RUN rm -rf /var/lib/apt/lists/* && apt-get update
RUN echo 'MIRRORSITE="http://deb.debian.org/debian"' > /etc/pbuilderrc
RUN echo MIRRORSITE=http://archive.ubuntu.com/ubuntu > /etc/pbuilderrc
RUN apt-get install -qq --assume-yes clang pbuilder

VOLUME /code
Expand Down

0 comments on commit c79a531

Please sign in to comment.