Browse Source

[release] v 0.3.4 - fix arm (again?)

Yann Stepienik 2 years ago
parent
commit
57fd773d0d
3 changed files with 4 additions and 6 deletions
  1. 0 4
      docker.sh
  2. 3 1
      dockerfile.arm64
  3. 1 1
      package.json

+ 0 - 4
docker.sh

@@ -1,10 +1,6 @@
 VERSION=$(npm pkg get version | tr -d \")
 LATEST="latest"
 
-if [ -n "$ARCHI" ]; then
-  VERSION="$ARCHI-$VERSION"
-fi
-
 # if branch is unstable in git for circle ci
 if [ -n "$CIRCLE_BRANCH" ]; then
   if [ "$CIRCLE_BRANCH" != "master" ]; then

+ 3 - 1
dockerfile.arm64

@@ -6,7 +6,9 @@ EXPOSE 443 80
 
 VOLUME /config
 
-RUN apt-get update && apt-get install -y ca-certificates openssl
+RUN apt-get clean
+RUN apt-get update 
+RUN apt-get install -y ca-certificates openssl
 
 WORKDIR /app
 

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "cosmos-server",
-  "version": "0.3.3",
+  "version": "0.3.4",
   "description": "",
   "main": "test-server.js",
   "bugs": {