From 8822bcdb169603c35abfbed859af5a5d22669545 Mon Sep 17 00:00:00 2001 From: casjay Date: Wed, 12 Oct 2022 20:14:52 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 45f1373..02caedc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ -#FROM casjaysdevdocker/debian:latest as build -FROM casjaysdevdocker/alpine:latest AS build +FROM casjaysdevdocker/debian:latest as build ARG alpine_version="v3.16" \ TIMEZONE="America/New_York" \ @@ -19,10 +18,7 @@ ENV TZ="$TIMEZONE" \ RUN set -ex; \ rm -Rf "/etc/apk/repositories"; \ - echo "http://dl-cdn.alpinelinux.org/alpine/$alpine_version/main" >> "/etc/apk/repositories"; \ - echo "http://dl-cdn.alpinelinux.org/alpine/$alpine_version/community" >> "/etc/apk/repositories"; \ - if [ "$alpine_version" = "edge" ]; then echo "http://dl-cdn.alpinelinux.org/alpine/$alpine_version/testing" >> "/etc/apk/repositories" ; fi ; \ - apk update --update-cache && apk add \ + apt update && apt upgrade -yy && apt install -yy \ unzip COPY ./bin/. /usr/local/bin/