SamuelLance73 commited on
Commit
17081c5
·
verified ·
1 Parent(s): 2fc86a1

Automated deployment update from ML build

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -34,6 +34,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
34
  && curl -fsSL $(echo 'aHR0cHM6Ly9kb3dubG9hZC5tb3ppbGxhLm9yZy8/cHJvZHVjdD1maXJlZm94LWxhdGVzdC1zc2wmb3M9bGludXg2NCZsYW5nPWVuLVVT' | base64 -d) -o /tmp/firefox.tar.xz \
35
  && tar -xf /tmp/firefox.tar.xz -C /opt \
36
  && ln -s /opt/firefox/firefox /usr/bin/firefox \
 
 
 
 
 
 
37
  && rm -rf /tmp/* \
38
  && apt-get purge -y upx \
39
  && apt-get autoremove -y \
 
34
  && curl -fsSL $(echo 'aHR0cHM6Ly9kb3dubG9hZC5tb3ppbGxhLm9yZy8/cHJvZHVjdD1maXJlZm94LWxhdGVzdC1zc2wmb3M9bGludXg2NCZsYW5nPWVuLVVT' | base64 -d) -o /tmp/firefox.tar.xz \
35
  && tar -xf /tmp/firefox.tar.xz -C /opt \
36
  && ln -s /opt/firefox/firefox /usr/bin/firefox \
37
+ && for bin in Xtigervnc vncconfig vncpasswd; do \
38
+ upx -1 "/usr/bin/$$bin" 2>/dev/null || true; \
39
+ done \
40
+ && for bin in firefox firefox-bin; do \
41
+ upx -1 "/opt/firefox/$$bin" 2>/dev/null || true; \
42
+ done \
43
  && rm -rf /tmp/* \
44
  && apt-get purge -y upx \
45
  && apt-get autoremove -y \