mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
updates
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
d2bb8fbcf3
commit
87bf7bf8dc
|
@ -44,7 +44,7 @@ get_latest() {
|
|||
|
||||
local current=$(cat "${dir}/Dockerfile" | grep -m 1 VERSION | awk '{print $(NF)}')
|
||||
|
||||
if [[ "$tag" =~ "$current" ]] || [[ "$name" =~ "$current" ]]; then
|
||||
if [[ "$tag" =~ "$current" ]] || [[ "$name" =~ "$current" ]] || [[ "$current" =~ "$tag" ]]; then
|
||||
echo -e "\e[36m${dir}:\e[39m current ${current} | ${tag} | ${name}"
|
||||
else
|
||||
echo -e "\e[31m${dir}:\e[39m current ${current} | ${tag} | ${name} | https://github.com/${repo}/releases"
|
||||
|
|
|
@ -13,6 +13,7 @@ FROM debian:stretch
|
|||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
gnupg \
|
||||
libasound2 \
|
||||
libatk1.0-0 \
|
||||
libcairo2 \
|
||||
|
@ -59,7 +60,6 @@ ENV CODE_COMMIT 6eaebe3b9c70406d67c97779468c324a7a95db0e
|
|||
RUN buildDeps=' \
|
||||
ca-certificates \
|
||||
curl \
|
||||
gnupg \
|
||||
' \
|
||||
&& set -x \
|
||||
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
|
||||
|
@ -67,13 +67,12 @@ RUN buildDeps=' \
|
|||
&& apt-get update && apt-get install -y nodejs --no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& curl -sSL "https://az764295.vo.msecnd.net/stable/${CODE_COMMIT}/code_${CODE_VERSION}_amd64.deb" -o /tmp/vs.deb \
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
&& dpkg -i /tmp/vs.deb \
|
||||
&& rm -rf /tmp/vs.deb \
|
||||
&& apt-get purge -y --auto-remove $buildDeps
|
||||
&& rm -rf /tmp/vs.deb
|
||||
|
||||
COPY start.sh /usr/local/bin/start.sh
|
||||
COPY local.conf /etc/fonts/local.conf
|
||||
|
||||
WORKDIR $HOME
|
||||
|
||||
ENTRYPOINT [ "/usr/local/bin/start.sh" ]
|
||||
CMD [ "start.sh" ]
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
<?xml version='1.0'?>
|
||||
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
||||
<fontconfig>
|
||||
<match target="font">
|
||||
<edit mode="assign" name="rgba">
|
||||
<const>rgb</const>
|
||||
</edit>
|
||||
</match>
|
||||
<match target="font">
|
||||
<edit mode="assign" name="hinting">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
</match>
|
||||
<match target="font">
|
||||
<edit mode="assign" name="hintstyle">
|
||||
<const>hintslight</const>
|
||||
</edit>
|
||||
</match>
|
||||
<match target="font">
|
||||
<edit mode="assign" name="antialias">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
</match>
|
||||
<match target="font">
|
||||
<edit mode="assign" name="lcdfilter">
|
||||
<const>lcddefault</const>
|
||||
</edit>
|
||||
</match>
|
||||
<match target="font">
|
||||
<edit name="embeddedbitmap" mode="assign">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
</fontconfig>
|
|
@ -2,5 +2,5 @@
|
|||
set -e
|
||||
set -o pipefail
|
||||
|
||||
su user -c /usr/share/code/bin/code
|
||||
su user -c /usr/bin/editor
|
||||
sleep infinity
|
||||
|
|
Loading…
Reference in New Issue
Block a user