mirror of
https://github.com/maxkratz/dockerfiles.git
synced 2024-09-08 00:03:50 +00:00
fix buillds
Signed-off-by: Jess Frazelle <jess@oxide.computer>
This commit is contained in:
parent
76ab350d6b
commit
6e1142c207
5 changed files with 7 additions and 45 deletions
|
@ -38,7 +38,6 @@ RUN apt-get update && apt-get install -y \
|
|||
libedit-dev \
|
||||
clang-format \
|
||||
python \
|
||||
python-netaddr \
|
||||
python3-pyroute2 \
|
||||
luajit \
|
||||
libluajit-5.1-dev \
|
||||
|
|
|
@ -9,7 +9,7 @@ RUN apk --no-cache add \
|
|||
libc-dev
|
||||
|
||||
|
||||
ENV CFSSL_VERSION 1.4.1
|
||||
ENV CFSSL_VERSION v1.4.1
|
||||
|
||||
RUN git clone --depth 1 --branch "$CFSSL_VERSION" https://github.com/cloudflare/cfssl.git /go/src/github.com/cloudflare/cfssl
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
# wget https://raw.githubusercontent.com/jfrazelle/dotfiles/master/etc/docker/seccomp/chrome.json -O ~/chrome.json
|
||||
|
||||
# Base docker image
|
||||
FROM debian:sid-slim
|
||||
FROM debian:bullseye-slim
|
||||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||
|
||||
# Install Chrome
|
||||
|
@ -32,7 +32,7 @@ RUN apt-get update && apt-get install -y \
|
|||
libcanberra-gtk* \
|
||||
libgl1-mesa-dri \
|
||||
libgl1-mesa-glx \
|
||||
libpango1.0-0 \
|
||||
libpangox-1.0-0 \
|
||||
libpulse0 \
|
||||
libv4l-0 \
|
||||
fonts-symbola \
|
||||
|
@ -45,18 +45,6 @@ RUN apt-get update && apt-get install -y \
|
|||
&& apt-get purge --auto-remove -y curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Download the google-talkplugin
|
||||
RUN set -x \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
curl \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& curl -sSL "https://dl.google.com/linux/direct/google-talkplugin_current_amd64.deb" -o /tmp/google-talkplugin-amd64.deb \
|
||||
&& dpkg -i /tmp/google-talkplugin-amd64.deb \
|
||||
&& rm -rf /tmp/*.deb \
|
||||
&& apt-get purge -y --auto-remove curl
|
||||
|
||||
# Add chrome user
|
||||
RUN groupadd -r chrome && useradd -r -g chrome -G audio,video chrome \
|
||||
&& mkdir -p /home/chrome/Downloads && chown -R chrome:chrome /home/chrome
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
# wget https://raw.githubusercontent.com/jfrazelle/dotfiles/master/etc/docker/seccomp/chrome.json -O ~/chrome.json
|
||||
|
||||
# Base docker image
|
||||
FROM debian:sid-slim
|
||||
FROM debian:bullseye-slim
|
||||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||
|
||||
# Install Chrome
|
||||
|
@ -32,7 +32,7 @@ RUN apt-get update && apt-get install -y \
|
|||
libcanberra-gtk* \
|
||||
libgl1-mesa-dri \
|
||||
libgl1-mesa-glx \
|
||||
libpango1.0-0 \
|
||||
libpangox-1.0-0 \
|
||||
libpulse0 \
|
||||
libv4l-0 \
|
||||
fonts-symbola \
|
||||
|
@ -45,18 +45,6 @@ RUN apt-get update && apt-get install -y \
|
|||
&& apt-get purge --auto-remove -y curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Download the google-talkplugin
|
||||
RUN set -x \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
curl \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& curl -sSL "https://dl.google.com/linux/direct/google-talkplugin_current_amd64.deb" -o /tmp/google-talkplugin-amd64.deb \
|
||||
&& dpkg -i /tmp/google-talkplugin-amd64.deb \
|
||||
&& rm -rf /tmp/*.deb \
|
||||
&& apt-get purge -y --auto-remove curl
|
||||
|
||||
# Add chrome user
|
||||
RUN groupadd -r chrome && useradd -r -g chrome -G audio,video chrome \
|
||||
&& mkdir -p /home/chrome/Downloads && chown -R chrome:chrome /home/chrome
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# wget https://raw.githubusercontent.com/jfrazelle/dotfiles/master/etc/docker/seccomp/chrome.json -O ~/chrome.json
|
||||
|
||||
# Base docker image
|
||||
FROM debian:sid-slim
|
||||
FROM debian:bullseye-slim
|
||||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||
|
||||
# Install Chromium
|
||||
|
@ -32,7 +32,7 @@ RUN apt-get update && apt-get install -y \
|
|||
libexif-dev \
|
||||
libgl1-mesa-dri \
|
||||
libgl1-mesa-glx \
|
||||
libpango1.0-0 \
|
||||
libpangox-1.0-0 \
|
||||
libv4l-0 \
|
||||
fonts-symbola \
|
||||
--no-install-recommends \
|
||||
|
@ -40,19 +40,6 @@ RUN apt-get update && apt-get install -y \
|
|||
&& mkdir -p /etc/chromium.d/ \
|
||||
&& /bin/echo -e 'export GOOGLE_API_KEY="AIzaSyCkfPOPZXDKNn8hhgu3JrA62wIgC93d44k"\nexport GOOGLE_DEFAULT_CLIENT_ID="811574891467.apps.googleusercontent.com"\nexport GOOGLE_DEFAULT_CLIENT_SECRET="kdloedMFGdGla2P1zacGjAQh"' > /etc/chromium.d/googleapikeys
|
||||
|
||||
# Download the google-talkplugin
|
||||
RUN buildDeps=' \
|
||||
ca-certificates \
|
||||
curl \
|
||||
' \
|
||||
&& set -x \
|
||||
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& curl -sSL "https://dl.google.com/linux/direct/google-talkplugin_current_amd64.deb" -o /tmp/google-talkplugin-amd64.deb \
|
||||
&& dpkg -i /tmp/google-talkplugin-amd64.deb \
|
||||
&& rm -rf /tmp/*.deb \
|
||||
&& apt-get purge -y --auto-remove $buildDeps
|
||||
|
||||
# Add chromium user
|
||||
RUN groupadd -r chromium && useradd -r -g chromium -G audio,video chromium \
|
||||
&& mkdir -p /home/chromium/Downloads && chown -R chromium:chromium /home/chromium
|
||||
|
|
Loading…
Reference in a new issue