Skip to content

Commit

Permalink
fix: Fix Tizen cert issues in Docker image (#59)
Browse files Browse the repository at this point in the history
Upgrading Tizen Studio to 5.0 (released just a couple weeks ago) seems
to fix the certificate issues we've been having.

Closes #57
  • Loading branch information
joeyparrish authored Nov 13, 2022
1 parent 997bd95 commit 81a4bd0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions backends/tizen/tizen-studio-docker/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ MAINTAINER joeyparrish <[email protected]>
# Then clear the apt cache to reduce the size of the final image.
# Docker's best practices guide recommends that these all be combined into one
# step to avoid issues with the caching system.
RUN apt-get -y update \
&& apt-get -y install --no-install-recommends \
RUN apt-get -y update
RUN apt-get -y install --no-install-recommends \
ca-certificates \
cpio \
gettext \
Expand All @@ -25,10 +25,8 @@ RUN apt-get -y update \
sudo \
unzip \
wget \
zip \
&& apt-get -y clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /etc/apt/sources.list.d/*
zip
RUN apt-get -y clean && rm -rf /var/lib/apt/lists/* && rm -rf /etc/apt/sources.list.d/*

# Add a non-root user with sudo access.
RUN groupadd -r tizen \
Expand All @@ -43,7 +41,7 @@ USER tizen
WORKDIR /home/tizen

# Download the Tizen Studio installer.
ARG TIZEN_STUDIO_VERSION=3.7
ARG TIZEN_STUDIO_VERSION=5.0
ARG TIZEN_STUDIO_DL_FOLDER=http://download.tizen.org/sdk/Installer/tizen-studio_${TIZEN_STUDIO_VERSION}
ARG TIZEN_STUDIO_BINARY=web-cli_Tizen_Studio_${TIZEN_STUDIO_VERSION}_ubuntu-64.bin
RUN wget ${TIZEN_STUDIO_DL_FOLDER}/${TIZEN_STUDIO_BINARY} \
Expand Down
2 changes: 1 addition & 1 deletion backends/tizen/tizen-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ function addTizenArgs(yargs) {
'For local Tizen Studio installations, use ' +
'--local-tizen-studio.\n',
type: 'string',
default: 'gcr.io/generic-webdriver-server/tizen-studio-tv-3.0:1.0.0',
default: 'gcr.io/generic-webdriver-server/tizen-studio-tv-3.0:1.1.4',
})
.option('tizen-studio-path', {
description:
Expand Down

0 comments on commit 81a4bd0

Please sign in to comment.