Created
          July 1, 2022 15:45 
        
      - 
      
- 
        Save erikaheidi/c75d3525e8dac8f5cc0c557f57ae0cef to your computer and use it in GitHub Desktop. 
    PHP 8.1 Apko base image 
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | contents: | |
| repositories: | |
| - https://dl-cdn.alpinelinux.org/alpine/edge/main | |
| - https://dl-cdn.alpinelinux.org/alpine/edge/community | |
| packages: | |
| - alpine-baselayout | |
| - php81 | |
| - php81-common | |
| - php81-curl | |
| entrypoint: | |
| command: /usr/bin/php81 | |
| environment: | |
| PATH: /usr/sbin:/sbin:/usr/bin:/bin | |
| accounts: | |
| groups: | |
| - groupname: php | |
| gid: 10000 | |
| users: | |
| - username: php | |
| uid: 10000 | |
| run-as: php | |
| paths: | |
| - path: /home/php | |
| type: directory | |
| uid: 10000 | |
| gid: 10000 | |
| permissions: 0o755 | 
Building the image with Apko
apko build php-cli-81.yaml php-cli:8.1 php-cli-81.tar
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Running a Minicli app with an ephemeral container: